@@ -428,7 +428,7 @@
|
||||
+ speed = player.abilities.walkSpeed * 10f;
|
||||
+ }
|
||||
+
|
||||
if (!this.player.H() && (!this.player.getWorldServer().getGameRules().getBoolean("disableElytraMovementCheck") || !this.player.isGliding())) {
|
||||
if (!this.player.H() && (!this.player.getWorldServer().getGameRules().getBoolean(GameRules.DISABLE_ELYTRA_MOVEMENT_CHECK) || !this.player.isGliding())) {
|
||||
float f2 = this.player.isGliding() ? 300.0F : 100.0F;
|
||||
|
||||
- if (d11 - d10 > (double) (f2 * (float) i) && !this.isExemptPlayer()) {
|
||||
@@ -1173,7 +1173,7 @@
|
||||
+ // CraftBukkit end
|
||||
} else if (packetplayinuseentity.b() == PacketPlayInUseEntity.EnumEntityUseAction.INTERACT_AT) {
|
||||
enumhand = packetplayinuseentity.c();
|
||||
entity.a(this.player, packetplayinuseentity.d(), enumhand);
|
||||
entity.a((EntityHuman) this.player, packetplayinuseentity.d(), enumhand);
|
||||
+ // CraftBukkit start
|
||||
+ if (!itemInHand.isEmpty() && itemInHand.getCount() <= -1) {
|
||||
+ this.player.updateInventory(this.player.activeContainer);
|
||||
|
||||
Reference in New Issue
Block a user