From 87455d61ad67654f6762729d424348b131bc53b7 Mon Sep 17 00:00:00 2001 From: Steven Lawson Date: Mon, 17 Sep 2012 21:40:35 -0400 Subject: [PATCH] Not sure where you're headed with this, Darth However, I wanted to make it's formatting standard and have it named properly. --- .../TotalFreedomMod/TFM_Messages.java | 27 +++++++++++++++++++ .../TotalFreedomMod/TFM_message.java | 26 ------------------ 2 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 src/me/StevenLawson/TotalFreedomMod/TFM_Messages.java delete mode 100644 src/me/StevenLawson/TotalFreedomMod/TFM_message.java diff --git a/src/me/StevenLawson/TotalFreedomMod/TFM_Messages.java b/src/me/StevenLawson/TotalFreedomMod/TFM_Messages.java new file mode 100644 index 00000000..c287896e --- /dev/null +++ b/src/me/StevenLawson/TotalFreedomMod/TFM_Messages.java @@ -0,0 +1,27 @@ +package me.StevenLawson.TotalFreedomMod; + +import org.bukkit.ChatColor; + +// Work in progress +@Deprecated +public enum TFM_Messages +{ + NO_PERMS(ChatColor.YELLOW + "You do not have permission to use this command."), + YOU_ARE_OP(ChatColor.YELLOW + "You are now op!"), + YOU_ARE_NOT_OP(ChatColor.YELLOW + "You are no longer op!"), + CAKE_LYRICS("But there's no sense crying over every mistake. You just keep on trying till you run out of cake."), + NOT_FROM_CONSOLE("This command may not be used from the console."); + + private final String message; + + TFM_Messages(String message) + { + this.message = message; + } + + @Override + public String toString() + { + return message; + } +} diff --git a/src/me/StevenLawson/TotalFreedomMod/TFM_message.java b/src/me/StevenLawson/TotalFreedomMod/TFM_message.java deleted file mode 100644 index ba794933..00000000 --- a/src/me/StevenLawson/TotalFreedomMod/TFM_message.java +++ /dev/null @@ -1,26 +0,0 @@ -package me.StevenLawson.TotalFreedomMod; - -import org.bukkit.ChatColor; - -// Work in progress -@Deprecated -public enum TFM_message { - NO_PERMS(ChatColor.YELLOW + "You do not have permission to use this command."), - YOU_ARE_OP(ChatColor.YELLOW + "You are now op!"), - YOU_ARE_NOT_OP(ChatColor.YELLOW + "You are no longer op!"), - CAKE_LYRICS("But there's no sense crying over every mistake. You just keep on trying till you run out of cake."), - NOT_FROM_CONSOLE("This command may not be used from the console.") - ; - private final String message; - - TFM_message(String message) - { - this.message = message; - } - - @Override - public String toString() - { - return message; - } -}