3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-17 21:40:08 +01:00
Paper/CraftBukkit-Patches/0170-Fix-missed-diff-from-Minecraft-1.3.1-update.patch

23 Zeilen
946 B
Diff

2014-08-04 22:11:38 +02:00
From 0102dc4e41312fdd63c4518b142462d1c851b3c4 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);
}
2014-08-04 22:11:38 +02:00
- 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
2014-08-04 22:11:38 +02:00
--
1.9.1
2014-08-04 22:11:38 +02:00