PaperSpigot-Parent/CraftBukkit-Patches/0167-Fix-missed-diff-from-Minecraft-1.3.1-update.patch
Zach Brown cab333b217 Rebase (Update) from upstream SpigotMC
Don't send requests of every player was found in the global api cache SpigotMC/Spigot@841270ff1e
Correctly set the response code for the cached lookups and return the ... SpigotMC/Spigot@f170b7899c
Don't try and re-set the global api cache on reload SpigotMC/Spigot@b410a00a66
Use a compile time sneaky throw hack. SpigotMC/Spigot@508462b96b
Fix a missed rename in WorldGenGroundBush SpigotMC/Spigot@0614d8fae9
2014-11-28 14:19:07 -06:00

23 lines
946 B
Diff

From 4a2adefdc9946ddaf8493ce3aa1f3436ec585f55 Mon Sep 17 00:00:00 2001
From: mrapple <tony@oc.tc>
Date: Thu, 31 Jul 2014 20:05:06 -0500
Subject: [PATCH] Fix missed diff from Minecraft 1.3.1 update
diff --git a/src/main/java/net/minecraft/server/PlayerChunkMap.java b/src/main/java/net/minecraft/server/PlayerChunkMap.java
index cc1b095..6f60cac 100644
--- a/src/main/java/net/minecraft/server/PlayerChunkMap.java
+++ b/src/main/java/net/minecraft/server/PlayerChunkMap.java
@@ -250,7 +250,7 @@ public class PlayerChunkMap {
this.a(pair.x, pair.z, true).a(entityplayer);
}
- if (i1 > 1 || i1 < -1 || j1 > 1 || j1 < -1) {
+ if (j1 > 1 || j1 < -1 || k1 > 1 || k1 < -1) { // Spigot - missed diff
Collections.sort(entityplayer.chunkCoordIntPairQueue, new ChunkCoordComparator(entityplayer));
}
// CraftBukkit end
--
1.9.1