Change Lava position
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user