Skip to content

Commit

Permalink
i am stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
ewof committed Apr 29, 2024
1 parent b63d8f6 commit 926152e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ public static void onTravel(Player player, String townName, String waypointName,
Messaging.sendMsg(player, Translatable.of("msg_waypoint_travel_warmup_cost", travelcost));
teleport(player, loc, waypoint.travelWithVehicle());

if (TownyWaypointsSettings.getSplit() != -1 || player.getGameMode() == GameMode.CREATIVE
|| player.getGameMode() == GameMode.SPECTATOR) {
if (TownyWaypointsSettings.getSplit() != -1 || player.getGameMode() == GameMode.SURVIVAL
|| player.getGameMode() == GameMode.ADVENTURE) {
double splitCostNation = travelcost * (1.0 - TownyWaypointsSettings.getSplit());
double splitCostTown = travelcost * TownyWaypointsSettings.getSplit();

Expand Down

0 comments on commit 926152e

Please sign in to comment.