1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00
This commit is contained in:
TheBusyBiscuit 2020-05-07 20:38:51 +02:00
parent de1af960bb
commit 528edc80d0
2 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@
* Fixed #1833
* Fixed #1834
* Fixed #1843
* Fixed #1873
## Release Candidate 11 (25 Apr 2020)

View File

@ -82,7 +82,7 @@ public final class TeleportationManager {
teleporterUsers.add(uuid);
int time = getTeleportationTime(complexity, source, destination);
updateProgress(uuid, 100 / time, 0, source, destination, resistance);
updateProgress(uuid, Math.max(1, 100 / time), 0, source, destination, resistance);
}
public int getTeleportationTime(int complexity, Location source, Location destination) {
@ -98,7 +98,7 @@ public final class TeleportationManager {
return Math.min(distance, 100_000_000);
}
else {
return 100_000_000;
return 150_000_000;
}
}