Changed some names.

This commit is contained in:
Steffion 2013-07-30 21:27:35 +02:00
parent 48d6a61e06
commit b0ce3a6854
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ public class CMDwand extends DefaultCMD {
wand.setItemMeta(im); wand.setItemMeta(im);
player.getInventory().addItem(wand); player.getInventory().addItem(wand);
player.playSound(player.getLocation(), Sound.ORB_PICKUP, 5, 0); player.playSound(player.getLocation(), Sound.ORB_PICKUP, 5, 0);
MessageM.sendFMessage(player, ConfigC.normal_gaveWand, true, MessageM.sendFMessage(player, ConfigC.normal_wandGaveWand, true,
"type-" "type-"
+ wand.getType().toString() + wand.getType().toString()
.replaceAll("_", " ").toLowerCase()); .replaceAll("_", " ").toLowerCase());

View File

@ -46,7 +46,7 @@ public class PlayerListener implements Listener {
|| !W.pos1.get(player).equals(location)) { || !W.pos1.get(player).equals(location)) {
MessageM.sendFMessage( MessageM.sendFMessage(
player, player,
ConfigC.normal_setPosition, ConfigC.normal_wandSetPosition,
true, true,
"number-1", "number-1",
"pos-%N(%A" + location.getBlockX() "pos-%N(%A" + location.getBlockX()
@ -63,7 +63,7 @@ public class PlayerListener implements Listener {
|| !W.pos2.get(player).equals(location)) { || !W.pos2.get(player).equals(location)) {
MessageM.sendFMessage( MessageM.sendFMessage(
player, player,
ConfigC.normal_setPosition, ConfigC.normal_wandSetPosition,
true, true,
"number-2", "number-2",
"pos-%N(%A" + location.getBlockX() "pos-%N(%A" + location.getBlockX()