mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 23:47:38 +01:00
Merge pull request #6460 from IThundxr/mc1.18/controller-lectern-fix
Fix NPE caused by empty lectern controller in a debug world
This commit is contained in:
commit
50db9bc826
1 changed files with 5 additions and 5 deletions
|
@ -28,7 +28,7 @@ import net.minecraftforge.fml.DistExecutor;
|
|||
|
||||
public class LecternControllerBlockEntity extends SmartBlockEntity {
|
||||
|
||||
private ItemStack controller;
|
||||
private ItemStack controller = ItemStack.EMPTY;
|
||||
private UUID user;
|
||||
private UUID prevUser; // used only on client
|
||||
private boolean deactivatedThisTick; // used only on server
|
||||
|
|
Loading…
Reference in a new issue