Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Correct missed diff
Dieser Commit ist enthalten in:
Ursprung
d51463d162
Commit
4992df25ec
@ -328,7 +328,7 @@ public abstract class EntityHuman extends EntityLiving implements ICommandListen
|
|||||||
// First statement moved down, second statement handled in parent method.
|
// First statement moved down, second statement handled in parent method.
|
||||||
/*
|
/*
|
||||||
if (!this.world.isStatic) {
|
if (!this.world.isStatic) {
|
||||||
this.l(this.vehicle);
|
this.m(this.vehicle);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.vehicle != null) {
|
if (this.vehicle != null) {
|
||||||
|
@ -1407,7 +1407,7 @@ public abstract class EntityLiving extends Entity {
|
|||||||
double d3 = MathHelper.g(this.bk - (double) this.yaw);
|
double d3 = MathHelper.g(this.bk - (double) this.yaw);
|
||||||
|
|
||||||
this.yaw = (float) ((double) this.yaw + d3 / (double) this.bg);
|
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.bg;
|
||||||
this.setPosition(d0, d1, d2);
|
this.setPosition(d0, d1, d2);
|
||||||
this.b(this.yaw, this.pitch);
|
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);
|
InventoryMoveItemEvent event = new InventoryMoveItemEvent(this.getOwner().getInventory(), oitemstack.clone(), destinationInventory, true);
|
||||||
this.getWorld().getServer().getPluginManager().callEvent(event);
|
this.getWorld().getServer().getPluginManager().callEvent(event);
|
||||||
if (event.isCancelled()) {
|
if (event.isCancelled()) {
|
||||||
this.setItem(i, itemstack);
|
this.setItem(j, itemstack);
|
||||||
this.c(8); // Delay hopper checks
|
this.c(8); // Delay hopper checks
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren