Can be an assert.

This commit is contained in:
Florian Nücke
2022-01-28 13:26:33 +01:00
parent dc6089d347
commit 7be40b02e2

View File

@@ -20,9 +20,7 @@ public final class CreativeEnergyBlockEntity extends ModBlockEntity implements T
@Override
public void serverTick() {
if (level == null) {
return;
}
assert level != null;
for (final Direction side : SIDES) {
final BlockPos neighborPos = getBlockPos().relative(side);