mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
Correct missed diff
This commit is contained in:
parent
d51463d162
commit
4992df25ec
3 changed files with 3 additions and 3 deletions
|
@ -328,7 +328,7 @@ public abstract class EntityHuman extends EntityLiving implements ICommandListen
|
|||
// First statement moved down, second statement handled in parent method.
|
||||
/*
|
||||
if (!this.world.isStatic) {
|
||||
this.l(this.vehicle);
|
||||
this.m(this.vehicle);
|
||||
}
|
||||
|
||||
if (this.vehicle != null) {
|
||||
|
|
|
@ -1407,7 +1407,7 @@ public abstract class EntityLiving extends Entity {
|
|||
double d3 = MathHelper.g(this.bk - (double) this.yaw);
|
||||
|
||||
this.yaw = (float) ((double) this.yaw + d3 / (double) this.bg);
|
||||
this.pitch = (float) ((double) this.pitch + (this.bm - (double) this.pitch) / (double) this.bg);
|
||||
this.pitch = (float) ((double) this.pitch + (this.bl - (double) this.pitch) / (double) this.bg);
|
||||
--this.bg;
|
||||
this.setPosition(d0, d1, d2);
|
||||
this.b(this.yaw, this.pitch);
|
||||
|
|
|
@ -259,7 +259,7 @@ public class TileEntityHopper extends TileEntity implements IHopper {
|
|||
InventoryMoveItemEvent event = new InventoryMoveItemEvent(this.getOwner().getInventory(), oitemstack.clone(), destinationInventory, true);
|
||||
this.getWorld().getServer().getPluginManager().callEvent(event);
|
||||
if (event.isCancelled()) {
|
||||
this.setItem(i, itemstack);
|
||||
this.setItem(j, itemstack);
|
||||
this.c(8); // Delay hopper checks
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue