mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 05:35:44 +01:00
Removed unnecessary (int)
This commit is contained in:
parent
a9ea8e830d
commit
11c1ffc790
@ -34,10 +34,10 @@ public class DeleteIslandChunks {
|
||||
if (world == null) {
|
||||
return;
|
||||
}
|
||||
int minXChunk = (int) (island.getMinX() / 16);
|
||||
int maxXChunk = (int) ((island.getRange() * 2 + island.getMinX() - 1) /16);
|
||||
int minZChunk = (int) (island.getMinZ() / 16);
|
||||
int maxZChunk = (int) ((island.getRange() * 2 + island.getMinZ() - 1) /16);
|
||||
int minXChunk = island.getMinX() / 16;
|
||||
int maxXChunk = (island.getRange() * 2 + island.getMinX() - 1) /16;
|
||||
int minZChunk = island.getMinZ() / 16;
|
||||
int maxZChunk = (island.getRange() * 2 + island.getMinZ() - 1) /16;
|
||||
for (int x = minXChunk; x <= maxXChunk; x++) {
|
||||
for (int z = minZChunk; z<=maxZChunk; z++) {
|
||||
world.regenerateChunk(x, z);
|
||||
|
Loading…
Reference in New Issue
Block a user