mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
Merge branch 'master' into tpoffline
This commit is contained in:
commit
548ee09c33
1 file changed
+1
-1
@@ -117,7 +117,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