Fix Server crash on chromatic compound conversion

This commit is contained in:
grimmauld 2020-10-21 01:03:27 +02:00
parent 0b3f0fd198
commit 420501af89
2 changed files with 4 additions and 1 deletions

View file

@ -135,7 +135,7 @@ public class ChromaticCompoundItem extends Item {
BeaconTileEntity bte = (BeaconTileEntity) te; BeaconTileEntity bte = (BeaconTileEntity) te;
if (!bte.getBeamSegments().isEmpty()) isOverBeacon = true; if (bte.getLevels() != 0 && !bte.beamSegments.isEmpty()) isOverBeacon = true;
break; break;
} }

View file

@ -17,3 +17,6 @@ public net.minecraft.world.chunk.ChunkStatus$ILoadingWorker
# PotionBrewing # PotionBrewing
public net.minecraft.potion.PotionBrewing field_185215_c # POTION_ITEMS public net.minecraft.potion.PotionBrewing field_185215_c # POTION_ITEMS
# Beacon
public net.minecraft.tileentity.BeaconTileEntity field_174909_f # beamSegments