floating point division

This commit is contained in:
Fabrizio La Rosa 2020-07-12 12:45:50 +02:00
parent 251a193195
commit 51bb15a4f0

View File

@ -339,7 +339,7 @@ public class Island {
}
public double getRadius() {
return (size / 2) + 0.5;
return (size / 2d) + 0.5d;
}
public boolean hasPassword() {