Update to Minecraft 1.14-pre5

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-04-23 12:00:00 +10:00
parent 0e98365784
commit a0f2b74c8d
560 changed files with 10642 additions and 10867 deletions

View File

@@ -11,10 +11,10 @@
public class PathfinderGoalRemoveBlock extends PathfinderGoalGotoTarget {
@@ -66,6 +70,14 @@
@@ -81,6 +85,14 @@
}
if (this.h > 60) {
if (this.i > 60) {
+ // CraftBukkit start - Step on eggs
+ EntityInteractEvent event = new EntityInteractEvent(this.entity.getBukkitEntity(), CraftBlock.at(world, blockposition1));
+ world.getServer().getPluginManager().callEvent((EntityInteractEvent) event);
@@ -23,6 +23,6 @@
+ return;
+ }
+ // CraftBukkit end
world.setAir(blockposition1);
world.a(blockposition1, false);
if (!world.isClientSide) {
for (int i = 0; i < 20; ++i) {