mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 04:56:50 +01:00
Fixed Explosion cast error
This commit is contained in:
parent
a49a358349
commit
ac0641887b
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@ import org.bukkit.event.entity.EntityDamageByBlockEvent;
|
|||
import org.bukkit.event.entity.EntityDamageByEntityEvent;
|
||||
import org.bukkit.event.entity.EntityDamageEvent;
|
||||
import org.bukkit.event.entity.EntityExplodeEvent;
|
||||
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
|
||||
import org.bukkit.Location;
|
||||
// CraftBukkit end
|
||||
|
||||
|
@ -199,7 +198,7 @@ public class Explosion {
|
|||
blocks.clear();
|
||||
|
||||
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);
|
||||
blocks.add(coords);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue