summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/BlockRedstoneTorch.java
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-11-20 00:01:14 -0800
committerErik Broes <erikbroes@ripe.net>2011-11-20 00:01:33 -0800
commit345ea36c7bb3383c6e4825355d0043a646194eaa (patch)
treedf116b57d92315c0a13c2fdc87d792b031c7239a /src/main/java/net/minecraft/server/BlockRedstoneTorch.java
parent589f66bd1b766dc1fdd737ee885304196a2ed86a (diff)
downloadcraftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.tar
craftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.tar.gz
craftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.tar.lz
craftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.tar.xz
craftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.zip
Update for 1.0.0
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockRedstoneTorch.java')
-rw-r--r--src/main/java/net/minecraft/server/BlockRedstoneTorch.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/BlockRedstoneTorch.java b/src/main/java/net/minecraft/server/BlockRedstoneTorch.java
index 847e64c5..e78cdb66 100644
--- a/src/main/java/net/minecraft/server/BlockRedstoneTorch.java
+++ b/src/main/java/net/minecraft/server/BlockRedstoneTorch.java
@@ -42,7 +42,7 @@ public class BlockRedstoneTorch extends BlockTorch {
this.a(true);
}
- public int c() {
+ public int d() {
return 2;
}
@@ -145,14 +145,14 @@ public class BlockRedstoneTorch extends BlockTorch {
public void doPhysics(World world, int i, int j, int k, int l) {
super.doPhysics(world, i, j, k, l);
- world.c(i, j, k, this.id, this.c());
+ world.c(i, j, k, this.id, this.d());
}
public boolean d(World world, int i, int j, int k, int l) {
return l == 0 ? this.a(world, i, j, k, l) : false;
}
- public int a(int i, Random random) {
+ public int a(int i, Random random, int j) {
return Block.REDSTONE_TORCH_ON.id;
}