This commit is contained in:
yaohunya 2024-08-03 15:12:48 +08:00
parent 309aa117cf
commit 59f071dcb4
3 changed files with 7 additions and 6 deletions

View File

@ -74,11 +74,5 @@
<version>1.18.2-R0.1-SNAPSHOT</version> <version>1.18.2-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>com.fastasyncworldedit.bukkit</groupId>
<artifactId>FastAsyncWorldEdit</artifactId>
<version>2.9.1</version>
<classifier>660</classifier>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -326,6 +326,9 @@ public class Game {
this.spawnPoint = spawnPoint; this.spawnPoint = spawnPoint;
FileConfiguration config = ColorblindWar.inst().getConfig(); FileConfiguration config = ColorblindWar.inst().getConfig();
ConfigurationSection section1 = config.getConfigurationSection("spawnPoint"); ConfigurationSection section1 = config.getConfigurationSection("spawnPoint");
if(section1 == null){
config.createSection("spawnPoint");
}
section1.set("x", spawnPoint.getX()); section1.set("x", spawnPoint.getX());
section1.set("y", spawnPoint.getY()); section1.set("y", spawnPoint.getY());
section1.set("z", spawnPoint.getZ()); section1.set("z", spawnPoint.getZ());

View File

@ -0,0 +1,4 @@
package com.io.yutian.colorblindwar.liveevent;
public class GiftEventHandler {
}