Mappings Update
By: md_5 <git@md-5.net>
This commit is contained in:
parent
8817bc22d9
commit
83baf22bde
80 changed files with 469 additions and 518 deletions
|
@ -20,7 +20,7 @@
|
|||
this.die();
|
||||
@@ -112,7 +114,7 @@
|
||||
|
||||
if (!flag1 && BlockFalling.k(this.world.getType(new BlockPosition(this.locX, this.locY - 0.009999999776482582D, this.locZ)))) {
|
||||
if (!flag1 && BlockFalling.canFallThrough(this.world.getType(new BlockPosition(this.locX, this.locY - 0.009999999776482582D, this.locZ)))) {
|
||||
this.onGround = false;
|
||||
- return;
|
||||
+ // return; // CraftBukkit
|
||||
|
@ -31,9 +31,9 @@
|
|||
if (iblockdata.getBlock() != Blocks.MOVING_PISTON) {
|
||||
this.die();
|
||||
if (!this.f) {
|
||||
- if (iblockdata.getMaterial().isReplaceable() && (flag1 || !BlockFalling.k(this.world.getType(blockposition.down()))) && this.world.setTypeAndData(blockposition, this.block, 3)) {
|
||||
- if (iblockdata.getMaterial().isReplaceable() && (flag1 || !BlockFalling.canFallThrough(this.world.getType(blockposition.down()))) && this.world.setTypeAndData(blockposition, this.block, 3)) {
|
||||
+ // CraftBukkit start
|
||||
+ if (iblockdata.getMaterial().isReplaceable() && (flag1 || !BlockFalling.k(this.world.getType(blockposition.down())))) {
|
||||
+ if (iblockdata.getMaterial().isReplaceable() && (flag1 || !BlockFalling.canFallThrough(this.world.getType(blockposition.down())))) {
|
||||
+ if (CraftEventFactory.callEntityChangeBlockEvent(this, blockposition, this.block).isCancelled()) {
|
||||
+ return;
|
||||
+ }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue