Skip to content

Commit

Permalink
Forgot to remove scaling attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Haven-King committed Feb 27, 2021
1 parent 88f6e5a commit 586f7b2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/dev/hephaestus/fiblib/impl/FibLib.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ public static void resendChunks(ServerPlayerEntity player) {
if (world != null) {
RegistryKey<World> worldRegistryKey = world.getRegistryKey();

double scale = world.getDimension().getCoordinateScale();
int i = MathHelper.floor(player.getX() * scale) >> 4;
int j = MathHelper.floor(player.getZ() * scale) >> 4;
int i = MathHelper.floor(player.getX()) >> 4;
int j = MathHelper.floor(player.getZ()) >> 4;
int watchDistance = ((ChunkReloader) TACS).getWatchDistance();

for (int k = i - watchDistance; k <= i + watchDistance; ++k) {
Expand Down

0 comments on commit 586f7b2

Please sign in to comment.