File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
src/main/scala/extracells/gridblock Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ package extracells .gridblock ;
2+
3+ import appeng .api .networking .GridFlags ;
4+
5+ import java .util .EnumSet ;
6+
7+ class Constants {
8+ static final EnumSet <GridFlags > BASE_GRID_FLAGS = EnumSet .of (GridFlags .REQUIRE_CHANNEL );
9+ }
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public final EnumSet<ForgeDirection> getConnectableSides() {
3030
3131 @ Override
3232 public EnumSet <GridFlags > getFlags () {
33- return EnumSet . of ( GridFlags . REQUIRE_CHANNEL ) ;
33+ return Constants . BASE_GRID_FLAGS ;
3434 }
3535
3636 public IMEMonitor <IAEFluidStack > getFluidMonitor () {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public final EnumSet<ForgeDirection> getConnectableSides() {
3434
3535 @ Override
3636 public EnumSet <GridFlags > getFlags () {
37- return EnumSet . of ( GridFlags . REQUIRE_CHANNEL ) ;
37+ return Constants . BASE_GRID_FLAGS ;
3838 }
3939
4040 @ Override
You can’t perform that action at this time.
0 commit comments