This commit is contained in:
@@ -90,7 +90,7 @@ public class HubCommand implements CommandExecutor
|
||||
// Put the player in the ArrayList of players waiting to be teleported.
|
||||
PluginCache.teleporting.add(username);
|
||||
// Load the teleportation delay.
|
||||
int delay = FileUtils.FileType.CONFIG_YAML.yaml.getInt(ConfigEntries.HUB_DELAY.path);
|
||||
int delay = FileUtils.FileType.CONFIG_YAML.yaml.getInt(ConfigEntry.HUB_DELAY.path);
|
||||
|
||||
|
||||
// Warn the player about the delay.
|
||||
|
||||
@@ -118,7 +118,7 @@ public class SpawnCommand implements CommandExecutor
|
||||
|
||||
|
||||
// Load the teleportation delay.
|
||||
int delay = FileUtils.FileType.CONFIG_YAML.yaml.getInt(ConfigEntries.SPAWN_DELAY.path);
|
||||
int delay = FileUtils.FileType.CONFIG_YAML.yaml.getInt(ConfigEntry.SPAWN_DELAY.path);
|
||||
|
||||
// Warn the player about the delay.
|
||||
String delayMessage = MessageUtils.getLocalizedMessage(LocalizedMessage.INFO_TELEPORT_DELAY, false);
|
||||
|
||||
Reference in New Issue
Block a user