mirror of
https://github.com/Maxlego08/zKoth.git
synced 2024-11-27 12:46:00 +01:00
Merge branch 'master' into develop
# Conflicts: # plugin.yml
This commit is contained in:
commit
af3cb262d9
@ -107,6 +107,7 @@ public class KothLootManager extends ZUtils {
|
|||||||
|
|
||||||
String finalCommand = command.replace("%player%", player.getName());
|
String finalCommand = command.replace("%player%", player.getName());
|
||||||
finalCommand = finalCommand.replace("%name%", koth.getName());
|
finalCommand = finalCommand.replace("%name%", koth.getName());
|
||||||
|
finalCommand = finalCommand.replace("%faction%", factionListener.getFactionTag(player));
|
||||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), finalCommand);
|
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), finalCommand);
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -115,6 +116,7 @@ public class KothLootManager extends ZUtils {
|
|||||||
|
|
||||||
String finalCommand = command.replace("%player%", player.getName());
|
String finalCommand = command.replace("%player%", player.getName());
|
||||||
finalCommand = finalCommand.replace("%name%", koth.getName());
|
finalCommand = finalCommand.replace("%name%", koth.getName());
|
||||||
|
finalCommand = finalCommand.replace("%faction%", factionListener.getFactionTag(player));
|
||||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), finalCommand);
|
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), finalCommand);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user