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
@@ -165,7 +165,7 @@ public class BlockButton extends Block {
|
||||
//Allow the lever to change the current
|
||||
int old = (j1 != 8) ? 1 : 0;
|
||||
int current = (j1 == 8) ? 1 : 0;
|
||||
BlockRedstoneEvent bre = new BlockRedstoneEvent(block, BlockFace.Self, old, current);
|
||||
BlockRedstoneEvent bre = new BlockRedstoneEvent(block, BlockFace.SELF, old, current);
|
||||
((WorldServer) world).getServer().getPluginManager().callEvent(bre);
|
||||
if ((bre.getNewCurrent() > 0) == (j1 == 8)) {
|
||||
world.c(i, j, k, i1 + j1);
|
||||
|
||||
Reference in new issue
Block a user