Update from Git Manager GUI
This commit is contained in:
@@ -69,6 +69,7 @@ public class NexusLobby extends JavaPlugin implements Listener {
|
||||
private BorderModule borderModule;
|
||||
private ParkourManager parkourManager;
|
||||
private SoccerModule soccerModule;
|
||||
private ArmorStandLookAtModule armorStandLookAtModule;
|
||||
|
||||
private ConversationManager conversationManager;
|
||||
|
||||
@@ -135,7 +136,7 @@ public class NexusLobby extends JavaPlugin implements Listener {
|
||||
|
||||
ServerChecker.startGlobalChecker();
|
||||
|
||||
new ArmorStandLookAtModule();
|
||||
armorStandLookAtModule = new ArmorStandLookAtModule();
|
||||
|
||||
startAutoConversationTimer();
|
||||
|
||||
@@ -192,7 +193,10 @@ public class NexusLobby extends JavaPlugin implements Listener {
|
||||
}
|
||||
|
||||
ServerChecker.startGlobalChecker();
|
||||
new ArmorStandLookAtModule();
|
||||
// FIX: ArmorStandLookAtModule als Feld tracken. Bukkit.getScheduler().cancelTasks()
|
||||
// am Anfang von reloadPlugin() cancelt den alten Task bereits – hier nur
|
||||
// neu starten und Referenz aktualisieren, damit kein doppelter Task läuft.
|
||||
armorStandLookAtModule = new ArmorStandLookAtModule();
|
||||
startAutoConversationTimer();
|
||||
|
||||
getLogger().info("Plugin Reload abgeschlossen. Änderungen wurden übernommen.");
|
||||
|
||||
Reference in New Issue
Block a user