Update to Minecraft 1.15

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-12-11 09:00:00 +11:00
parent 1400103b2f
commit 0e142c7f03
293 changed files with 2875 additions and 2648 deletions

View File

@@ -16,11 +16,11 @@
entityboat.setType(this.b);
@@ -49,7 +57,7 @@
return new InteractionResultWrapper<>(EnumInteractionResult.FAIL, itemstack);
return InteractionResultWrapper.d(itemstack);
} else {
if (!world.isClientSide) {
- world.addEntity(entityboat);
+ if (!world.addEntity(entityboat)) return new InteractionResultWrapper(EnumInteractionResult.PASS, itemstack); // CraftBukkit
}
if (!entityhuman.abilities.canInstantlyBuild) {
if (!entityhuman.abilities.canInstantlyBuild) {
itemstack.subtract(1);
}