mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 17:27:38 +00:00
Remove debug code
This commit is contained in:
parent
7f419618cc
commit
f8585adc79
@ -243,7 +243,6 @@ public class BukkitPlayer extends AbstractPlayerActor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void sendFakeBlock(Vector pos, BlockStateHolder block) {
|
public void sendFakeBlock(Vector pos, BlockStateHolder block) {
|
||||||
System.out.println("Setting " + (block == null ? "reset" : block.getAsString()) + " as " + pos.toString());
|
|
||||||
Location loc = new Location(player.getWorld(), pos.getX(), pos.getY(), pos.getZ());
|
Location loc = new Location(player.getWorld(), pos.getX(), pos.getY(), pos.getZ());
|
||||||
if (block == null) {
|
if (block == null) {
|
||||||
player.sendBlockChange(loc, player.getWorld().getBlockAt(loc).getBlockData());
|
player.sendBlockChange(loc, player.getWorld().getBlockAt(loc).getBlockData());
|
||||||
|
@ -127,10 +127,10 @@ public class ServerCUIHandler {
|
|||||||
posY -= y;
|
posY -= y;
|
||||||
posZ -= z;
|
posZ -= z;
|
||||||
|
|
||||||
// if (Math.abs(posX) > 32 || Math.abs(posY) > 32 || Math.abs(posZ) > 32) {
|
if (Math.abs(posX) > 32 || Math.abs(posY) > 32 || Math.abs(posZ) > 32) {
|
||||||
// // Structure blocks have a limit
|
// Structure blocks have a limit
|
||||||
// return null;
|
return null;
|
||||||
// }
|
}
|
||||||
|
|
||||||
structureTag.put("name", new StringTag("worldedit:" + player.getName()));
|
structureTag.put("name", new StringTag("worldedit:" + player.getName()));
|
||||||
structureTag.put("author", new StringTag(player.getName()));
|
structureTag.put("author", new StringTag(player.getName()));
|
||||||
|
Loading…
Reference in New Issue
Block a user