mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 02:49:44 -05:00
Update CraftBukkit to Minecraft 1.4.4.
This commit is contained in:
1 parent
a0c3b4f9d1
commit
7f7192f8fd
169 files changed
+3295
-2774
No files matched your search
@@ -44,13 +44,13 @@ public class BlockPressurePlate extends Block {
|
||||
}
|
||||
|
||||
public boolean canPlace(World world, int i, int j, int k) {
|
||||
return world.t(i, j - 1, k) || BlockFence.c(world.getTypeId(i, j - 1, k));
|
||||
return world.v(i, j - 1, k) || BlockFence.c(world.getTypeId(i, j - 1, k));
|
||||
}
|
||||
|
||||
public void doPhysics(World world, int i, int j, int k, int l) {
|
||||
boolean flag = false;
|
||||
|
||||
if (!world.t(i, j - 1, k) && !BlockFence.c(world.getTypeId(i, j - 1, k))) {
|
||||
if (!world.v(i, j - 1, k) && !BlockFence.c(world.getTypeId(i, j - 1, k))) {
|
||||
flag = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user