mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-09 17:57:36 +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("")
|
@Description("")
|
||||||
String propertyValue) {
|
String propertyValue) {
|
||||||
StringPropertyHandle worldPropertyHandle = world.getStringPropertyHandle();
|
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(
|
issuer.sendMessage("Property %s%s set to %s%s for world %s%s%s.".formatted(
|
||||||
propertyName,
|
propertyName,
|
||||||
ChatColor.BLUE,
|
ChatColor.BLUE,
|
||||||
|
Loading…
Reference in New Issue
Block a user