Page 1 of 1

[1.1.56] "spawn item" permission inconsistently applies to hotbar button/keyboard shortcut

Posted: Wed Mar 23, 2022 7:06 am
by ctgPi
Steps to reproduce:

1. start a new game
2. use /permissions and revoke your own "Spawn item" permission
3. click the green button on the hotbar for the upgrade planner; it correctly fails to work (as that'd create an upgrade planner item)
4. use Alt+U: you'll get a fresh upgrade planner on hand that can be stored in your inventory, etc.

Seems like the keyboard shortcut is bypassing the permission check.

Re: [1.1.56] "spawn item" permission inconsistently applies to hotbar button/keyboard shortcut

Posted: Wed Mar 23, 2022 3:21 pm
by Rseding91
Thanks for the report. The shortcut is using the “custom input” action and not the “spawn item” action. Mind if I ask: why do you want to disable those permissions?