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:
Ursprung
d61dec2ee7
Commit
bc39a913ea
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren