aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/MylesAndMore/tumble/Main.java10
-rw-r--r--src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/com/MylesAndMore/tumble/Main.java b/src/main/java/com/MylesAndMore/tumble/Main.java
index 73dedf5..4dd4e25 100644
--- a/src/main/java/com/MylesAndMore/tumble/Main.java
+++ b/src/main/java/com/MylesAndMore/tumble/Main.java
@@ -25,15 +25,15 @@ public class Main extends JavaPlugin{
// Check if worlds are null in config
if (TumbleManager.getGameWorld() == null) {
- Bukkit.getServer().getLogger().warning("[tumble] It appears you have not configured a game world for Tumble.");
- Bukkit.getServer().getLogger().info("[tumble] If this is your first time running the plugin, you may disregard this message.");
+ Bukkit.getServer().getLogger().warning("[Tumble] It appears you have not configured a game world for Tumble.");
+ Bukkit.getServer().getLogger().info("[Tumble] If this is your first time running the plugin, you may disregard this message.");
}
if (TumbleManager.getLobbyWorld() == null) {
- Bukkit.getServer().getLogger().warning("[tumble] It appears you have not configured a lobby world for Tumble.");
- Bukkit.getServer().getLogger().info("[tumble] If this is your first time running the plugin, you may disregard this message.");
+ Bukkit.getServer().getLogger().warning("[Tumble] It appears you have not configured a lobby world for Tumble.");
+ Bukkit.getServer().getLogger().info("[Tumble] If this is your first time running the plugin, you may disregard this message.");
}
// Init message
- Bukkit.getServer().getLogger().info("[tumble] Tumble successfully enabled!");
+ Bukkit.getServer().getLogger().info("[Tumble] Tumble successfully enabled!");
}
} \ No newline at end of file
diff --git a/src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java b/src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java
index 4b97d9a..b5339b5 100644
--- a/src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java
+++ b/src/main/java/com/MylesAndMore/tumble/commands/SetAutoStart.java
@@ -12,7 +12,7 @@ public class SetAutoStart implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
// Check if sender has perms to run command
- if (sender.hasPermission("autostart")) {
+ if (sender.hasPermission("tumble.autostart")) {
// Check if game and lobby worlds are null
if (TumbleManager.getGameWorld() != null) {
if (TumbleManager.getLobbyWorld() != null) {