Commits
md_5 authored a2d26409f70
93 93 | + int newPower = Math.max(0, Math.min(15, this.l)); |
94 94 | + |
95 95 | + if (oldPower != newPower) { |
96 96 | + org.bukkit.craftbukkit.event.CraftEventFactory.callRedstoneChange(world, position.getX(), position.getY(), position.getZ(), oldPower, newPower); |
97 97 | + } |
98 98 | + } |
99 99 | + // CraftBukkit end |
100 100 | this.world.applyPhysics(this.position, this.w()); |
101 101 | this.world.applyPhysics(this.position.down(), this.w()); |
102 102 | } |
103 + | |
104 + | |
105 + | } |
106 + | |
107 + | + // CraftBukkit start |
108 + | + // PAIL |
109 + | + @Override |
110 + | + public boolean F() { |
111 + | + return true; |
112 + | + } |
113 + | + // CraftBukkit end |
114 + | + |
115 + | static class SyntheticClass_1 { |
116 + | |
117 + | static final int[] a = new int[EnumDirection.values().length]; |