mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update to Minecraft 1.3 beta
This commit is contained in:
1 parent
a124bfdab5
commit
f759e0b60d
83 files changed
+3182
-3292
No files matched your search
@@ -44,7 +44,7 @@ public class BlockPressurePlate extends Block {
|
||||
|
||||
public void e(World world, int i, int j, int k) {}
|
||||
|
||||
public void b(World world, int i, int j, int k, int l) {
|
||||
public void a(World world, int i, int j, int k, int l) {
|
||||
boolean flag = false;
|
||||
|
||||
if (!world.d(i, j - 1, k)) {
|
||||
@@ -52,7 +52,7 @@ public class BlockPressurePlate extends Block {
|
||||
}
|
||||
|
||||
if (flag) {
|
||||
this.a_(world, i, j, k, world.getData(i, j, k));
|
||||
this.b_(world, i, j, k, world.getData(i, j, k));
|
||||
world.e(i, j, k, 0);
|
||||
}
|
||||
}
|
||||
@@ -139,7 +139,7 @@ public class BlockPressurePlate extends Block {
|
||||
}
|
||||
|
||||
if (flag1) {
|
||||
world.i(i, j, k, this.id);
|
||||
world.c(i, j, k, this.id, this.b());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ public class BlockPressurePlate extends Block {
|
||||
return iblockaccess.getData(i, j, k) > 0;
|
||||
}
|
||||
|
||||
public boolean d(World world, int i, int j, int k, int l) {
|
||||
public boolean c(World world, int i, int j, int k, int l) {
|
||||
return world.getData(i, j, k) == 0 ? false : l == 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user