mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
[Bleeding] Audit of onPlace methods, Moved to postPlace as appropriate.
Closes BUKKIT-89
This commit is contained in:
1 parent
e92bdab57a
commit
c7716e1de4
12 files changed
+645
-8
No files matched your search
@@ -53,7 +53,7 @@ public class BlockPiston extends Block {
|
||||
}
|
||||
}
|
||||
|
||||
public void onPlace(World world, int i, int j, int k) {
|
||||
public void postPlace(World world, int i, int j, int k, int l) { // CraftBukkit
|
||||
if (!world.isStatic && world.getTileEntity(i, j, k) == null && !b) {
|
||||
this.g(world, i, j, k);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user