Update to Minecraft 1.14.1

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-05-14 10:00:00 +10:00
parent 1825747f6d
commit 788fd7eedc
60 changed files with 322 additions and 587 deletions

View File

@@ -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 @@