mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Code cleanup, fixed doors, chunk entity fetching
This commit is contained in:
1 parent
786fdfb9fe
commit
078f48c0fb
17 files changed
+61
-52
No files matched your search
@@ -105,8 +105,8 @@ public class BlockSign extends BlockContainer {
|
||||
|
||||
super.a(world, i, j, k, l);
|
||||
|
||||
//Craftbukkit start
|
||||
if(net.minecraft.server.Block.byId[l].c()) {
|
||||
// Craftbukkit start
|
||||
if (net.minecraft.server.Block.byId[l].c()) {
|
||||
CraftWorld craftWorld = ((WorldServer) world).getWorld();
|
||||
CraftServer server = ((WorldServer) world).getServer();
|
||||
Block block = craftWorld.getBlockAt(i, j, k);
|
||||
@@ -114,6 +114,6 @@ public class BlockSign extends BlockContainer {
|
||||
BlockRedstoneEvent eventRedstone = new BlockRedstoneEvent(block, power, power);
|
||||
server.getPluginManager().callEvent(eventRedstone);
|
||||
}
|
||||
//Craftbukkit end
|
||||
// Craftbukkit end
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user