mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
more NPE fixes regarding redstone
This commit is contained in:
1 parent
5c4f1d75b5
commit
79ccc5320a
3 files changed
+3
-3
No files matched your search
@@ -106,7 +106,7 @@ public class BlockSign extends BlockContainer {
|
||||
super.a(world, i, j, k, l);
|
||||
|
||||
// Craftbukkit start
|
||||
if (net.minecraft.server.Block.byId[l].c()) {
|
||||
if (net.minecraft.server.Block.byId[l] != null && net.minecraft.server.Block.byId[l].c()) {
|
||||
CraftWorld craftWorld = ((WorldServer) world).getWorld();
|
||||
CraftServer server = ((WorldServer) world).getServer();
|
||||
Block block = craftWorld.getBlockAt(i, j, k);
|
||||
|
||||
Reference in new issue
Block a user