Skip to content

Commit 611e481

Browse files
committed
Fixed size of world areas
- Updated WorldAreaId class > Math is hard... -_-'
1 parent af85f9b commit 611e481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/josemmo/bukkit/plugin/renderer/WorldAreaId.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class WorldAreaId {
3434
* @return World area ID
3535
*/
3636
public static @NotNull WorldAreaId fromLocation(@NotNull Location location) {
37-
return new WorldAreaId(location.getWorld(), location.getBlockX() >> 4, location.getBlockZ() >> 4);
37+
return new WorldAreaId(location.getWorld(), location.getBlockX() >> 6, location.getBlockZ() >> 6);
3838
}
3939

4040
/**

0 commit comments

Comments
 (0)