If sender is null, default to target as placeholder owner
This commit is contained in:
		| @@ -758,7 +758,7 @@ public class DisguiseParser { | |||||||
|                 customName = true; |                 customName = true; | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             args = parsePlaceholders(args, sender, target); |             args = parsePlaceholders(args, sender == null ? target : sender, target); | ||||||
|  |  | ||||||
|             if (disguisePerm.isUnknown()) { |             if (disguisePerm.isUnknown()) { | ||||||
|                 throw new DisguiseParseException(LibsMsg.PARSE_CANT_DISG_UNKNOWN); |                 throw new DisguiseParseException(LibsMsg.PARSE_CANT_DISG_UNKNOWN); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user