diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-07-01 14:05:57 +0200 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-07-01 14:07:34 +0200 |
commit | 1497eec04a0eee492e0fafe4e15f961c18892fb3 (patch) | |
tree | 0265595580427fd8d301a9f63bae1039c1ace3b2 /src | |
parent | 25f72c9caa46b4b7acb6983ae6c47cab92ce9bc9 (diff) | |
download | craftbukkit-1497eec04a0eee492e0fafe4e15f961c18892fb3.tar craftbukkit-1497eec04a0eee492e0fafe4e15f961c18892fb3.tar.gz craftbukkit-1497eec04a0eee492e0fafe4e15f961c18892fb3.tar.lz craftbukkit-1497eec04a0eee492e0fafe4e15f961c18892fb3.tar.xz craftbukkit-1497eec04a0eee492e0fafe4e15f961c18892fb3.zip |
Update for 1.7.2
Diffstat (limited to 'src')
4 files changed, 8 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/Block.java b/src/main/java/net/minecraft/server/Block.java index 9ee3399e..8183374e 100644 --- a/src/main/java/net/minecraft/server/Block.java +++ b/src/main/java/net/minecraft/server/Block.java @@ -509,7 +509,7 @@ public class Block { return this; } - public int f() { + public int e() { return this.material.j(); } diff --git a/src/main/java/net/minecraft/server/BlockPressurePlate.java b/src/main/java/net/minecraft/server/BlockPressurePlate.java index 97b52afa..f9daa00f 100644 --- a/src/main/java/net/minecraft/server/BlockPressurePlate.java +++ b/src/main/java/net/minecraft/server/BlockPressurePlate.java @@ -181,4 +181,8 @@ public class BlockPressurePlate extends Block { public boolean isPowerSource() { return true; } + + public int e() { + return 1; + } } diff --git a/src/main/java/net/minecraft/server/EntityMinecart.java b/src/main/java/net/minecraft/server/EntityMinecart.java index 6633b7af..79c946ae 100644 --- a/src/main/java/net/minecraft/server/EntityMinecart.java +++ b/src/main/java/net/minecraft/server/EntityMinecart.java @@ -285,7 +285,7 @@ public class EntityMinecart extends Entity implements IInventory { flag2 = !flag1; } - if (((BlockMinecartTrack) Block.byId[l]).e()) { + if (((BlockMinecartTrack) Block.byId[l]).f()) { i1 &= 7; } @@ -608,7 +608,7 @@ public class EntityMinecart extends Entity implements IInventory { int i1 = this.world.getData(i, j, k); d1 = (double) j; - if (((BlockMinecartTrack) Block.byId[l]).e()) { + if (((BlockMinecartTrack) Block.byId[l]).f()) { i1 &= 7; } diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index 625d8cc8..9ac802a4 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -89,7 +89,7 @@ public class MinecraftServer implements Runnable, ICommandListener { System.setErr(new PrintStream(new LoggerOutputStream(log, Level.SEVERE), true)); // CraftBukkit end - log.info("Starting minecraft server version Beta 1.7_01"); + log.info("Starting minecraft server version Beta 1.7.2"); if (Runtime.getRuntime().maxMemory() / 1024L / 1024L < 512L) { log.warning("**** NOT ENOUGH RAM!"); log.warning("To start the server with more ram, launch it as \"java -Xmx1024M -Xms1024M -jar minecraft_server.jar\""); |