Updated to rename revision 02

This commit is contained in:
Erik Broes authored and Nathan Adams committed 2012-03-01 01:12:41 +00:00
1 parent 8524ff8ef7
commit 33ba9f0a2f
100 files changed
+772 -761

No files matched your search

@@ -23,7 +23,7 @@ public class BlockPiston extends Block {
public int a(int i, int j) {
int k = d(j);
return k > 5 ? this.textureId : (i == k ? (!e(j) && this.minX <= 0.0D && this.minY <= 0.0D && this.minZ <= 0.0D && this.maxX >= 1.0D && this.maxY >= 1.0D && this.maxZ >= 1.0D ? this.textureId : 110) : (i == Facing.a[k] ? 109 : 108));
return k > 5 ? this.textureId : (i == k ? (!e(j) && this.minX <= 0.0D && this.minY <= 0.0D && this.minZ <= 0.0D && this.maxX >= 1.0D && this.maxY >= 1.0D && this.maxZ >= 1.0D ? this.textureId : 110) : (i == Facing.OPPOSITE_FACING[k] ? 109 : 108));
}
public int c() {
@@ -218,7 +218,7 @@ public class BlockPiston extends Block {
}
public static int d(int i) {
if ((i & 7) >= Facing.a.length) return 0; // CraftBukkit - check for AIOOB on piston data
if ((i & 7) >= Facing.OPPOSITE_FACING.length) return 0; // CraftBukkit - check for AIOOB on piston data
return i & 7;
}