Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,8 @@ private BaseBlock parseLogic(String input, ParserContext context) throws InputPa
}

//FAWE start - only handle if extra data is actually supplied or if the user has permission for nbt
boolean allowWorkingDefault = context.requireActor().hasPermission("worldedit.anyblock.nbt") && nbt != null;
boolean allowWorkingDefault = nbt != null &&
(context.getActor() == null || context.getActor().hasPermission("worldedit.anyblock.nbt"));
if (DeprecationUtil.isSign(blockType) && (blockAndExtraData.length > 1 || allowWorkingDefault)) {
//FAWE end
// Allow special sign text syntax
Expand Down
Loading