mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 14:38:53 +00:00
Close #69 - Wrong locale used for spending money to use /back
Signed-off-by: BuildTools <[email protected]>
This commit is contained in:
1 parent
6ee2b2ce4d
commit
b492025c6b
1 file changed
+1
-1
@@ -103,7 +103,7 @@ public class TeleportManager {
|
|||||||
double backCost = HuskHomes.getSettings().getRtpCost();
|
double backCost = HuskHomes.getSettings().getRtpCost();
|
||||||
if (backCost > 0) {
|
if (backCost > 0) {
|
||||||
VaultIntegration.takeMoney(player, backCost);
|
VaultIntegration.takeMoney(player, backCost);
|
||||||
MessageManager.sendMessage(player, "rtp_spent_money", VaultIntegration.format(backCost));
|
MessageManager.sendMessage(player, "back_spent_money", VaultIntegration.format(backCost));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
teleportPlayer(player, lastPosition, connection);
|
teleportPlayer(player, lastPosition, connection);
|
||||||
|
|||||||
Reference in new issue
Block a user