From 59f071dcb4d521ee478c228cf2951f4f4d595a14 Mon Sep 17 00:00:00 2001
From: yaohunya <31456652@qq.com>
Date: Sat, 3 Aug 2024 15:12:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 6 ------
src/main/java/com/io/yutian/colorblindwar/game/Game.java | 3 +++
.../io/yutian/colorblindwar/liveevent/GiftEventHandler.java | 4 ++++
3 files changed, 7 insertions(+), 6 deletions(-)
create mode 100644 src/main/java/com/io/yutian/colorblindwar/liveevent/GiftEventHandler.java
diff --git a/pom.xml b/pom.xml
index 046248a..8788353 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,11 +74,5 @@
1.18.2-R0.1-SNAPSHOT
provided
-
- com.fastasyncworldedit.bukkit
- FastAsyncWorldEdit
- 2.9.1
- 660
-
diff --git a/src/main/java/com/io/yutian/colorblindwar/game/Game.java b/src/main/java/com/io/yutian/colorblindwar/game/Game.java
index d83ac10..57d9f90 100644
--- a/src/main/java/com/io/yutian/colorblindwar/game/Game.java
+++ b/src/main/java/com/io/yutian/colorblindwar/game/Game.java
@@ -326,6 +326,9 @@ public class Game {
this.spawnPoint = spawnPoint;
FileConfiguration config = ColorblindWar.inst().getConfig();
ConfigurationSection section1 = config.getConfigurationSection("spawnPoint");
+ if(section1 == null){
+ config.createSection("spawnPoint");
+ }
section1.set("x", spawnPoint.getX());
section1.set("y", spawnPoint.getY());
section1.set("z", spawnPoint.getZ());
diff --git a/src/main/java/com/io/yutian/colorblindwar/liveevent/GiftEventHandler.java b/src/main/java/com/io/yutian/colorblindwar/liveevent/GiftEventHandler.java
new file mode 100644
index 0000000..1a118ba
--- /dev/null
+++ b/src/main/java/com/io/yutian/colorblindwar/liveevent/GiftEventHandler.java
@@ -0,0 +1,4 @@
+package com.io.yutian.colorblindwar.liveevent;
+
+public class GiftEventHandler {
+}