测试
This commit is contained in:
parent
309aa117cf
commit
59f071dcb4
6
pom.xml
6
pom.xml
|
@ -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>
|
||||||
|
|
|
@ -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());
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
package com.io.yutian.colorblindwar.liveevent;
|
||||||
|
|
||||||
|
public class GiftEventHandler {
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user