geforkt von Mirrors/FastAsyncWorldEdit
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