Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 5d4de46e Fix checkstyle.xml formatting adf331f1 SPIGOT-5496: API to create and manipulate hardcore worlds CraftBukkit Changes: c727dc2a Fix checkstyle.xml formatting e7202cd4 SPIGOT-5496: API to create and manipulate hardcore worlds 9820cd2d MC-151364, SPIGOT-5494: Feeding dolphin hangs if generate-structures=false
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From a1bfec9d57d7efc546da0cd581aa0589616ad73d Mon Sep 17 00:00:00 2001
|
||||
From 25a159b876a2da7ff22aae09750a4c550dd8af18 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Wed, 20 Jun 2018 23:17:24 -0400
|
||||
Subject: [PATCH] Expand Explosions API
|
||||
@@ -6,10 +6,10 @@ Subject: [PATCH] Expand Explosions API
|
||||
Add Entity as a Source capability, and add more API choices, and on Location.
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
index 24b79d110..ec537cc8e 100644
|
||||
index 40eb71d9b7..6fe8a61860 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
@@ -882,6 +882,11 @@ public class CraftWorld implements World {
|
||||
@@ -881,6 +881,11 @@ public class CraftWorld implements World {
|
||||
public boolean createExplosion(double x, double y, double z, float power, boolean setFire, boolean breakBlocks, Entity source) {
|
||||
return !world.createExplosion(source == null ? null : ((CraftEntity) source).getHandle(), x, y, z, power, setFire, breakBlocks ? Explosion.Effect.BREAK : Explosion.Effect.NONE).wasCanceled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user