diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2013-03-13 17:33:27 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2013-03-15 13:28:59 -0500 |
commit | 83d29e461c85733f0113b6eb19db6e3b42da2949 (patch) | |
tree | b3063a1c28f478ab368d5ba3413a842def68c28f /src/main/java/net/minecraft/server/BlockSign.java | |
parent | ba6e4c38cfa98ad291974195cc46d70a4f138ac1 (diff) | |
download | craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.gz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.lz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.xz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.zip |
Update CraftBukkit to Minecraft 1.5
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockSign.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockSign.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/net/minecraft/server/BlockSign.java b/src/main/java/net/minecraft/server/BlockSign.java index 5e6ce37e..33dd19c1 100644 --- a/src/main/java/net/minecraft/server/BlockSign.java +++ b/src/main/java/net/minecraft/server/BlockSign.java @@ -12,7 +12,6 @@ public class BlockSign extends BlockContainer { protected BlockSign(int i, Class oclass, boolean flag) { super(i, Material.WOOD); this.b = flag; - this.textureId = 4; this.a = oclass; float f = 0.25F; float f1 = 1.0F; @@ -20,7 +19,7 @@ public class BlockSign extends BlockContainer { this.a(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f1, 0.5F + f); } - public AxisAlignedBB e(World world, int i, int j, int k) { + public AxisAlignedBB b(World world, int i, int j, int k) { return null; } @@ -60,7 +59,7 @@ public class BlockSign extends BlockContainer { return false; } - public boolean c(IBlockAccess iblockaccess, int i, int j, int k) { + public boolean b(IBlockAccess iblockaccess, int i, int j, int k) { return true; } @@ -68,7 +67,7 @@ public class BlockSign extends BlockContainer { return false; } - public TileEntity a(World world) { + public TileEntity b(World world) { try { return (TileEntity) this.a.newInstance(); } catch (Exception exception) { @@ -110,7 +109,7 @@ public class BlockSign extends BlockContainer { if (flag) { this.c(world, i, j, k, world.getData(i, j, k), 0); - world.setTypeId(i, j, k, 0); + world.setAir(i, j, k); } super.doPhysics(world, i, j, k, l); |