mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-09-26 05:42:37 +02:00
Fixes config offset bug for island location.
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1105
This commit is contained in:
parent
a3a0efb3a3
commit
90ad75baa9
@ -910,8 +910,8 @@ public class IslandsManager {
|
||||
// Island is off grid
|
||||
x = Math.round((double) x / distance) * distance + plugin.getIWM().getIslandXOffset(world);
|
||||
z = Math.round((double) z / distance) * distance + plugin.getIWM().getIslandZOffset(world);
|
||||
island.setCenter(new Location(world, x, island.getCenter().getBlockY(), z));
|
||||
}
|
||||
island.setCenter(new Location(world, x, island.getCenter().getBlockY(), z));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user