mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 07:34:56 +00:00
Not sure where you're headed with this, Darth
However, I wanted to make it's formatting standard and have it named properly.
This commit is contained in:
parent
9344a13116
commit
87455d61ad
2 changed files with 27 additions and 26 deletions
27
src/me/StevenLawson/TotalFreedomMod/TFM_Messages.java
Normal file
27
src/me/StevenLawson/TotalFreedomMod/TFM_Messages.java
Normal file
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue