mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 15:57:38 +00:00
Better context yes
This commit is contained in:
1 parent
a060c01f58
commit
f42e418346
3 files changed
+4
-9
No files matched your search
@@ -449,7 +449,7 @@ public class VirtualDecreeCommand {
|
||||
value = update;
|
||||
}
|
||||
|
||||
if (i.isContextual() && value == null) {
|
||||
if (sender.isPlayer() && i.isContextual() && value == null) {
|
||||
DecreeContextHandler<?> ch = DecreeContextHandler.contextHandlers.get(i.getType());
|
||||
|
||||
if (ch != null) {
|
||||
|
||||
Reference in new issue
Block a user