This commit is contained in:
ayunami2000 2022-04-24 20:40:49 -04:00
parent 7fd7cebf64
commit 6048af89f3
2 changed files with 2 additions and 2 deletions

View File

@ -200,8 +200,8 @@ public class Main extends JavaPlugin implements CommandExecutor, Listener {
sendToAllPlayers(videoMapCodec.disableVideoBukkit());
setSize(width, height);
syncToAllPlayers();
this.getConfig().set("width", mapSize[0]);
this.getConfig().set("height", mapSize[1]);
this.getConfig().set("size.width", mapSize[0]);
this.getConfig().set("size.height", mapSize[1]);
this.saveConfig();
MessageHandler.sendPrefixedMessage(sender, "setSize", mapSize[0], mapSize[1], mapSize[0] * mapSize[1]);
break;