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;
}
entity.remove();
Location fuck = new Location(Bukkit.getWorld("world_the_end"), 100, 49 ,0);
fuck.getBlock().setType(Material.AIR);
Location block = new Location(Bukkit.getWorld("world_the_end"), 100, 49 ,0);
block.getBlock().setType(Material.AIR);
World world = entity.getWorld();
Location location = entity.getLocation();
byte data = ((FallingBlock) entity).getBlockData().getAsString().getBytes()[0];