fixed double item dropping and fixed exitWorld command
This commit is contained in:
@@ -180,6 +180,7 @@ public class PixelBlock {
|
||||
// }
|
||||
|
||||
public void destroy(Player destroyedBy) {
|
||||
if(!this.exists) return;
|
||||
if(Main.configuration.onlyBreakableByOwner() && !destroyedBy.getUniqueId().equals(ownerUUID)) {
|
||||
destroyedBy.sendMessage("Dieser Pixelblock gehört nicht dir!");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user