summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockPressurePlateWeighted.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockPressurePlateWeighted.patch')
-rw-r--r--nms-patches/BlockPressurePlateWeighted.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/BlockPressurePlateWeighted.patch b/nms-patches/BlockPressurePlateWeighted.patch
index ef6556f6..0b148cdf 100644
--- a/nms-patches/BlockPressurePlateWeighted.patch
+++ b/nms-patches/BlockPressurePlateWeighted.patch
@@ -1,5 +1,5 @@
---- ../work/decompile-8eb82bde//net/minecraft/server/BlockPressurePlateWeighted.java 2014-11-28 17:43:42.945707438 +0000
-+++ src/main/java/net/minecraft/server/BlockPressurePlateWeighted.java 2014-11-28 17:38:19.000000000 +0000
+--- /home/matt/mc-dev-private//net/minecraft/server/BlockPressurePlateWeighted.java 2015-02-26 22:40:22.219608143 +0000
++++ src/main/java/net/minecraft/server/BlockPressurePlateWeighted.java 2015-02-26 22:40:22.219608143 +0000
@@ -1,5 +1,7 @@
package net.minecraft.server;
@@ -8,10 +8,10 @@
public class BlockPressurePlateWeighted extends BlockPressurePlateAbstract {
public static final BlockStateInteger POWER = BlockStateInteger.of("power", 0, 15);
-@@ -12,7 +14,31 @@
+@@ -16,7 +18,31 @@
}
- protected int e(World world, BlockPosition blockposition) {
+ protected int f(World world, BlockPosition blockposition) {
- int i = Math.min(world.a(Entity.class, this.a(blockposition)).size(), this.b);
+ // CraftBukkit start
+ //int i = Math.min(world.a(Entity.class, this.a(blockposition)).size(), this.b);