mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 23:47:38 +01:00
Fix Server crash on chromatic compound conversion
This commit is contained in:
parent
0b3f0fd198
commit
420501af89
2 changed files with 4 additions and 1 deletions
|
@ -135,7 +135,7 @@ public class ChromaticCompoundItem extends Item {
|
|||
|
||||
BeaconTileEntity bte = (BeaconTileEntity) te;
|
||||
|
||||
if (!bte.getBeamSegments().isEmpty()) isOverBeacon = true;
|
||||
if (bte.getLevels() != 0 && !bte.beamSegments.isEmpty()) isOverBeacon = true;
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -17,3 +17,6 @@ public net.minecraft.world.chunk.ChunkStatus$ILoadingWorker
|
|||
|
||||
# PotionBrewing
|
||||
public net.minecraft.potion.PotionBrewing field_185215_c # POTION_ITEMS
|
||||
|
||||
# Beacon
|
||||
public net.minecraft.tileentity.BeaconTileEntity field_174909_f # beamSegments
|
||||
|
|
Loading…
Reference in a new issue