3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 18:40:05 +01:00

Fix logic error when checking for use-inventory overrides.

Dieser Commit ist enthalten in:
wizjany 2013-07-26 08:33:52 -04:00
Ursprung d61dec2ee7
Commit bc39a913ea

Datei anzeigen

@ -344,10 +344,9 @@ public class WorldEdit {
// Have the session use inventory if it's enabled and the player // Have the session use inventory if it's enabled and the player
// doesn't have an override // doesn't have an override
session.setUseInventory(config.useInventory session.setUseInventory(config.useInventory
&& !((config.useInventoryOverride || && !(config.useInventoryOverride
(config.useInventoryCreativeOverride && player.hasCreativeMode())) && (player.hasPermission("worldedit.inventory.unrestricted")
&& player.hasPermission("worldedit.inventory.unrestricted"))); || (config.useInventoryCreativeOverride && player.hasCreativeMode()))));
} }
return session; return session;