mirror of
https://github.com/BentoBoxWorld/Boxed.git
synced 2025-03-02 03:31:10 +01:00
Double for int calcs
This commit is contained in:
parent
52b1ae4056
commit
942749ff20
@ -182,7 +182,7 @@ public class Boxed extends GameModeAddon {
|
|||||||
private void saveChunks(World seedWorld) {
|
private void saveChunks(World seedWorld) {
|
||||||
// Convert to chunks
|
// Convert to chunks
|
||||||
int size = (int)(this.getSettings().getIslandDistance() / 16D);
|
int size = (int)(this.getSettings().getIslandDistance() / 16D);
|
||||||
double percent = size * 4 * size;
|
double percent = size * 4D * size;
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int last = 0;
|
int last = 0;
|
||||||
for (int x = -size; x < size; x ++) {
|
for (int x = -size; x < size; x ++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user