@@ -81,3 +81,12 @@
|
||||
}
|
||||
|
||||
protected boolean mustSurvive() {
|
||||
@@ -178,7 +208,7 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
- if (tileentitytypes1.onlyOpCanSetNbt() && (player == null || !player.canUseGameMasterBlocks())) {
|
||||
+ if (tileentitytypes1.onlyOpCanSetNbt() && (player == null || !(player.canUseGameMasterBlocks() || (player.getAbilities().instabuild && player.getBukkitEntity().hasPermission("minecraft.nbt.place"))))) { // Spigot - add permission
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user