mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-09 09:47:50 +01:00
Fix modify command string parsing
This commit is contained in:
parent
18f4600ca4
commit
9c929fccca
@ -61,7 +61,7 @@ class ModifyCommand extends CoreCommand {
|
||||
@Description("")
|
||||
String propertyValue) {
|
||||
StringPropertyHandle worldPropertyHandle = world.getStringPropertyHandle();
|
||||
worldPropertyHandle.modifyProperty(propertyName, propertyValue, action).onSuccess(ignore -> {
|
||||
worldPropertyHandle.modifyPropertyString(propertyName, propertyValue, action).onSuccess(ignore -> {
|
||||
issuer.sendMessage("Property %s%s set to %s%s for world %s%s%s.".formatted(
|
||||
propertyName,
|
||||
ChatColor.BLUE,
|
||||
|
Loading…
Reference in New Issue
Block a user