This commit is contained in:
MidnightTale 2023-04-12 22:24:08 +07:00
commit c2913381bd

View file

@ -81,8 +81,8 @@ public class FoliaFlow extends JavaPlugin implements Listener {
return; return;
} }
entity.remove(); entity.remove();
Location fuck = new Location(Bukkit.getWorld("world_the_end"), 100, 49 ,0); Location block = new Location(Bukkit.getWorld("world_the_end"), 100, 49 ,0);
fuck.getBlock().setType(Material.AIR); block.getBlock().setType(Material.AIR);
World world = entity.getWorld(); World world = entity.getWorld();
Location location = entity.getLocation(); Location location = entity.getLocation();
byte data = ((FallingBlock) entity).getBlockData().getAsString().getBytes()[0]; byte data = ((FallingBlock) entity).getBlockData().getAsString().getBytes()[0];