mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Minor cleaning of code
This commit is contained in:
1 parent
6e3ee31336
commit
09026095b6
3 files changed
+8
-10
No files matched your search
@@ -249,8 +249,9 @@ public class BlockButton extends Block {
|
||||
CraftBlock block = (CraftBlock) craftWorld.getBlockAt(i, j, k);
|
||||
BlockRedstoneEvent eventRedstone = new BlockRedstoneEvent(block, 1, 0);
|
||||
server.getPluginManager().callEvent(eventRedstone);
|
||||
if(eventRedstone.getNewCurrent() > 0) return;
|
||||
if (eventRedstone.getNewCurrent() > 0) return;
|
||||
// Craftbukkit end
|
||||
|
||||
world.c(i, j, k, l & 7);
|
||||
world.h(i, j, k, this.id);
|
||||
int i1 = l & 7;
|
||||
|
||||
Reference in new issue
Block a user