Skip to content

Commit

Permalink
lol
Browse files Browse the repository at this point in the history
  • Loading branch information
ewof committed Apr 29, 2024
1 parent 926152e commit 47913d8
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.SURVIVAL
|| player.getGameMode() == GameMode.ADVENTURE) {
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 47913d8

Please sign in to comment.