mirror of
https://github.com/PaperMC/Paper.git
synced 2025-09-02 21:33:52 -07:00
Update to Minecraft 1.14.1
This commit is contained in:
@@ -78,14 +78,14 @@
|
||||
@@ -204,6 +263,12 @@
|
||||
}
|
||||
|
||||
protected void b(EntityPose entitypose) {
|
||||
protected void setPose(EntityPose entitypose) {
|
||||
+ // CraftBukkit start
|
||||
+ if (entitypose == this.Z()) {
|
||||
+ if (entitypose == this.getPose()) {
|
||||
+ return;
|
||||
+ }
|
||||
+ this.world.getServer().getPluginManager().callEvent(new EntityPoseChangeEvent(this.getBukkitEntity(), Pose.values()[entitypose.ordinal()]));
|
||||
+ // CraftBukkit end
|
||||
this.datawatcher.set(Entity.X, entitypose);
|
||||
this.datawatcher.set(Entity.POSE, entitypose);
|
||||
}
|
||||
|
||||
@@ -212,6 +277,33 @@
|
||||
|
Reference in New Issue
Block a user