removed dead code
This commit is contained in:
@@ -178,23 +178,6 @@ public class PixelBlock {
|
||||
.execute();
|
||||
}
|
||||
|
||||
// public void place(Location placeLocation, Direction direction) {
|
||||
// Location newLocation = placeLocation.toBlockLocation();
|
||||
// newLocation.setPitch(0);
|
||||
// newLocation.setYaw(0);
|
||||
//
|
||||
// @Nullable PixelBlock blockAtLocation = PixelBlock.getPixelBlockFromPlacedLocation(newLocation);
|
||||
// if(blockAtLocation != null && blockAtLocation != this) throw new IllegalArgumentException("Es können nicht mehrere Pixelblöcke ineinander platziert werden.");
|
||||
//
|
||||
// Main.logger().info(String.format("Placing PixelBlock '%s' at %s", this.blockUUID, placeLocation));
|
||||
// this.pixelBlockLocation = newLocation;
|
||||
// this.facingDirection = direction;
|
||||
// updateEntities();
|
||||
// Main.database.savePixelBlock(this);
|
||||
//
|
||||
// this.placeholder = PixelBlockPlaceholder.newPlaceholder(this);
|
||||
// }
|
||||
|
||||
public void destroy(Player destroyedBy) {
|
||||
if(!this.isAccessible) return;
|
||||
if(Main.configuration().onlyBreakableByOwner() && !destroyedBy.getUniqueId().equals(ownerUUID)) {
|
||||
|
||||
Reference in New Issue
Block a user