geforkt von Mirrors/Paper
Fixed Explosion cast error
Dieser Commit ist enthalten in:
Ursprung
a49a358349
Commit
ac0641887b
@ -11,7 +11,6 @@ import org.bukkit.event.entity.EntityDamageByBlockEvent;
|
|||||||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||||
import org.bukkit.event.entity.EntityDamageEvent;
|
import org.bukkit.event.entity.EntityDamageEvent;
|
||||||
import org.bukkit.event.entity.EntityExplodeEvent;
|
import org.bukkit.event.entity.EntityExplodeEvent;
|
||||||
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
@ -199,7 +198,7 @@ public class Explosion {
|
|||||||
blocks.clear();
|
blocks.clear();
|
||||||
|
|
||||||
for (org.bukkit.block.Block block : event.blockList()) {
|
for (org.bukkit.block.Block block : event.blockList()) {
|
||||||
ChunkCoordinates coords = new ChunkCoordinates(block.getX(), block.getY(), block.getZ());
|
ChunkPosition coords = new ChunkPosition(block.getX(), block.getY(), block.getZ());
|
||||||
arraylist.add(coords);
|
arraylist.add(coords);
|
||||||
blocks.add(coords);
|
blocks.add(coords);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren