Change Lava position

This commit is contained in:
marc-go
2026-01-04 13:56:52 +01:00
parent dafa05a66b
commit eaaef626ce

View File

@@ -18,12 +18,7 @@ public class LavaCmd {
public void execute(CommandSender sender, Player target) {
Location lava_loc = new Location(
target.getLocation().getWorld(),
target.getLocation().getX(),
target.getLocation().getY() - 1,
target.getLocation().getZ()
);
Location lava_loc = target.getLocation();
Block block = lava_loc.getBlock();
Material old_block = block.getType();