mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Changed BlockFace enum to match coding standards
This commit is contained in:
1 parent
5aa1bc269d
commit
2184d240db
8 files changed
+18
-18
No files matched your search
@@ -120,7 +120,7 @@ public class BlockPressurePlate extends Block {
|
||||
|
||||
// Craftbukkit start
|
||||
CraftBlock block = (CraftBlock) ((WorldServer) world).getWorld().getBlockAt(i, j, k);
|
||||
BlockRedstoneEvent bre = new BlockRedstoneEvent(block, BlockFace.Self, flag ? 15 : 0, flag1 ? 15 : 0);
|
||||
BlockRedstoneEvent bre = new BlockRedstoneEvent(block, BlockFace.SELF, flag ? 15 : 0, flag1 ? 15 : 0);
|
||||
((WorldServer) world).getServer().getPluginManager().callEvent(bre);
|
||||
flag1 = bre.getNewCurrent() > 0;
|
||||
// Craftbukkit end
|
||||
|
||||
Reference in new issue
Block a user