Skip to content

Commit c8a6e59

Browse files
committed
Add custom domain to domain when using command
1 parent be23d4b commit c8a6e59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

worldguard-core/src/main/java/com/sk89q/worldguard/protection/util/DomainInputResolver.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ public DefaultDomain call() throws UnresolvedNamesException, InvalidDomainFormat
141141
}
142142
customDomain.parseInput(CustomDomainContext.create()
143143
.setSender(actor).setInput(customMatcher.group(2)).setObject("region", region).build());
144+
domain.addCustomDomain(customDomain);
144145
} else {
145146
UUID uuid = parseUUID(s);
146147
if (uuid != null) {

0 commit comments

Comments
 (0)