diff options
Diffstat (limited to 'Essentials/src/net/ess3/commands/Commandbook.java')
-rw-r--r-- | Essentials/src/net/ess3/commands/Commandbook.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Essentials/src/net/ess3/commands/Commandbook.java b/Essentials/src/net/ess3/commands/Commandbook.java index 4c7b42f92..f041127c8 100644 --- a/Essentials/src/net/ess3/commands/Commandbook.java +++ b/Essentials/src/net/ess3/commands/Commandbook.java @@ -30,11 +30,11 @@ public class Commandbook extends EssentialsCommand { bmeta.setAuthor(args[1]); item.setItemMeta(bmeta); - user.sendMessage(_("Author of the book set to {0}.", getFinalArg(args, 1))); + user.sendMessage(_("§6Author of the book set to {0}.", getFinalArg(args, 1))); } else { - throw new Exception(_("You cannot change the author of this book.")); + throw new Exception(_("§4You cannot change the author of this book.")); } } else if (args.length > 1 && args[0].equalsIgnoreCase("title")) @@ -43,11 +43,11 @@ public class Commandbook extends EssentialsCommand { bmeta.setTitle(args[1]); item.setItemMeta(bmeta); - user.sendMessage(_("Title of the book set to {0}.", getFinalArg(args, 1))); + user.sendMessage(_("§6Title of the book set to {0}.", getFinalArg(args, 1))); } else { - throw new Exception(_("You cannot change the title of this book.")); + throw new Exception(_("§4You cannot change the title of this book.")); } } else @@ -57,11 +57,11 @@ public class Commandbook extends EssentialsCommand ItemStack newItem = new ItemStack(Material.BOOK_AND_QUILL, item.getAmount()); newItem.setItemMeta(bmeta); user.getPlayer().setItemInHand(newItem); - user.sendMessage(_("You may now edit the contents of this book.")); + user.sendMessage(_("§eYou may now edit the contents of this book.")); } else { - throw new Exception(_("You cannot unlock this book.")); + throw new Exception(_("§4You cannot unlock this book.")); } } } @@ -75,11 +75,11 @@ public class Commandbook extends EssentialsCommand ItemStack newItem = new ItemStack(Material.WRITTEN_BOOK, item.getAmount()); newItem.setItemMeta(bmeta); player.setItemInHand(newItem); - user.sendMessage(_("This book is now locked.")); + user.sendMessage(_("§6This book is now locked.")); } else { - throw new Exception(_("You are not holding a writable book.")); + throw new Exception(_("§4You are not holding a writable book.")); } } |