Fix small text typos
This commit is contained in:
parent
202929573e
commit
d16da8d26f
@ -51,7 +51,7 @@ public class DisguiseEntityCommand extends BaseDisguiseCommand {
|
|||||||
+ StringUtils.join(allowedDisguises, ChatColor.RED + ", " + ChatColor.GREEN));
|
+ StringUtils.join(allowedDisguises, ChatColor.RED + ", " + ChatColor.GREEN));
|
||||||
if (allowedDisguises.contains("player"))
|
if (allowedDisguises.contains("player"))
|
||||||
sender.sendMessage(ChatColor.DARK_GREEN + "/disguiseentity player <Name>");
|
sender.sendMessage(ChatColor.DARK_GREEN + "/disguiseentity player <Name>");
|
||||||
sender.sendMessage(ChatColor.DARK_GREEN + "/disguise <DisguiseType> <Baby>");
|
sender.sendMessage(ChatColor.DARK_GREEN + "/disguiseentity <DisguiseType> <Baby>");
|
||||||
if (allowedDisguises.contains("dropped_item") || allowedDisguises.contains("falling_block"))
|
if (allowedDisguises.contains("dropped_item") || allowedDisguises.contains("falling_block"))
|
||||||
sender.sendMessage(ChatColor.DARK_GREEN + "/disguiseentity <Dropped_Item/Falling_Block> <Id> <Durability>");
|
sender.sendMessage(ChatColor.DARK_GREEN + "/disguiseentity <Dropped_Item/Falling_Block> <Id> <Durability>");
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ public enum DisguiseSound {
|
|||||||
s = (String) obj;
|
s = (String) obj;
|
||||||
} else if (obj instanceof Sound) {
|
} else if (obj instanceof Sound) {
|
||||||
s = ReflectionManager.getCraftSound((Sound) obj);
|
s = ReflectionManager.getCraftSound((Sound) obj);
|
||||||
System.out.print("Warning, the sound " + obj + " needs to be converted to a string");
|
System.out.print("Warning! The sound " + obj + " needs to be converted to a string");
|
||||||
} else {
|
} else {
|
||||||
throw new RuntimeException("Was given a unknown object " + obj);
|
throw new RuntimeException("Was given a unknown object " + obj);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user