From f3072ed43e5fcaccc138b79e433c4c8212614ca3 Mon Sep 17 00:00:00 2001 From: Sobadfish <3098143605> Date: Mon, 15 Jan 2024 11:06:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8C=E6=97=B6=E6=AD=BB?= =?UTF-8?q?=E4=BA=A1=E6=B8=B8=E6=88=8F=E4=B8=8D=E7=BB=93=E6=9D=9FBUG=20?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=88=BF=E9=97=B4=E6=B8=B8=E6=88=8F=E6=97=B6?= =?UTF-8?q?=E5=88=BB=E4=B8=BA=20tick=20=E5=A2=9E=E5=8A=A0=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=A4=B4=E9=83=A8=E6=98=BE=E7=A4=BA=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=BA=E8=A1=8C=E5=90=AF=E5=8A=A8=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/sobadfish/bedwar/room/config/GameRoomConfig.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/sobadfish/bedwar/room/config/GameRoomConfig.java b/src/main/java/org/sobadfish/bedwar/room/config/GameRoomConfig.java index 8b6320f..f152ff6 100644 --- a/src/main/java/org/sobadfish/bedwar/room/config/GameRoomConfig.java +++ b/src/main/java/org/sobadfish/bedwar/room/config/GameRoomConfig.java @@ -741,8 +741,14 @@ public void save(){ for(FloatTextInfoConfig floatTextInfoConfig: floatTextInfoConfigs){ pos.add(floatTextInfoConfig.toConfig()); } + config.set("display-floatBlock",floatBlockConfig); config.set("floatSpawnPos",pos); config.save(); + //写入注释... + File roomFile = new File(BedWarMain.getBedWarMain().getDataFolder()+"/rooms/"+getName()+"/room.yml"); + Utils.addDescription(roomFile,BedWarMain.getLanguage().roomDescription,true); + + } @Override