summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/BlockPressurePlate.java
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-06-29 23:02:25 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-06-30 15:19:25 +0100
commita679e7f38025924dba3dd688ccb87e92306c4c3e (patch)
tree604a20c893873bef01a92eaa09d9309f32b7e29c /src/main/java/net/minecraft/server/BlockPressurePlate.java
parenta98c7ba2c706caa0ba83bddefa5ffecbe658ccd3 (diff)
downloadcraftbukkit-a679e7f38025924dba3dd688ccb87e92306c4c3e.tar
craftbukkit-a679e7f38025924dba3dd688ccb87e92306c4c3e.tar.gz
craftbukkit-a679e7f38025924dba3dd688ccb87e92306c4c3e.tar.lz
craftbukkit-a679e7f38025924dba3dd688ccb87e92306c4c3e.tar.xz
craftbukkit-a679e7f38025924dba3dd688ccb87e92306c4c3e.zip
Update to Minecraft 1.7
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockPressurePlate.java')
-rw-r--r--src/main/java/net/minecraft/server/BlockPressurePlate.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/net/minecraft/server/BlockPressurePlate.java b/src/main/java/net/minecraft/server/BlockPressurePlate.java
index 4b0f49c4..97b52afa 100644
--- a/src/main/java/net/minecraft/server/BlockPressurePlate.java
+++ b/src/main/java/net/minecraft/server/BlockPressurePlate.java
@@ -26,7 +26,7 @@ public class BlockPressurePlate extends Block {
return 20;
}
- public AxisAlignedBB d(World world, int i, int j, int k) {
+ public AxisAlignedBB e(World world, int i, int j, int k) {
return null;
}
@@ -39,20 +39,20 @@ public class BlockPressurePlate extends Block {
}
public boolean canPlace(World world, int i, int j, int k) {
- return world.d(i, j - 1, k);
+ return world.e(i, j - 1, k);
}
- public void e(World world, int i, int j, int k) {}
+ public void c(World world, int i, int j, int k) {}
public void doPhysics(World world, int i, int j, int k, int l) {
boolean flag = false;
- if (!world.d(i, j - 1, k)) {
+ if (!world.e(i, j - 1, k)) {
flag = true;
}
if (flag) {
- this.b_(world, i, j, k, world.getData(i, j, k));
+ this.g(world, i, j, k, world.getData(i, j, k));
world.setTypeId(i, j, k, 0);
}
}
@@ -174,7 +174,7 @@ public class BlockPressurePlate extends Block {
return iblockaccess.getData(i, j, k) > 0;
}
- public boolean c(World world, int i, int j, int k, int l) {
+ public boolean d(World world, int i, int j, int k, int l) {
return world.getData(i, j, k) == 0 ? false : l == 1;
}