aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0065-Add-World-Util-Methods.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2019-04-26 20:05:36 -0700
committerZach <[email protected]>2019-04-26 23:05:36 -0400
commit36873bf2d6b8c8fd0297caa3f846678ef283a3fd (patch)
tree8c0c1597478b4a3c2402d6b82715aa9acb31dc07 /Spigot-Server-Patches/0065-Add-World-Util-Methods.patch
parent818e88dbc52e747e67e2b265bedf686089c25e20 (diff)
downloadPaper-36873bf2d6b8c8fd0297caa3f846678ef283a3fd.tar.gz
Paper-36873bf2d6b8c8fd0297caa3f846678ef283a3fd.zip
More 1.14 updates (#1995)
Diffstat (limited to 'Spigot-Server-Patches/0065-Add-World-Util-Methods.patch')
-rw-r--r--Spigot-Server-Patches/0065-Add-World-Util-Methods.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/Spigot-Server-Patches/0065-Add-World-Util-Methods.patch b/Spigot-Server-Patches/0065-Add-World-Util-Methods.patch
index 16d0610b05..dbcb566b1f 100644
--- a/Spigot-Server-Patches/0065-Add-World-Util-Methods.patch
+++ b/Spigot-Server-Patches/0065-Add-World-Util-Methods.patch
@@ -1,4 +1,4 @@
-From 87bc4fe3532a93119223040e6cc70d3fc4f93303 Mon Sep 17 00:00:00 2001
+From ad235c2c832bb36e4bb444861075244c89c22da4 Mon Sep 17 00:00:00 2001
From: Aikar <[email protected]>
Date: Fri, 18 Mar 2016 20:16:03 -0400
Subject: [PATCH] Add World Util Methods
@@ -6,7 +6,7 @@ Subject: [PATCH] Add World Util Methods
Methods that can be used for other patches to help improve logic.
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
-index c4103680d4..9433d04f43 100644
+index c4103680d..9433d04f4 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -388,6 +388,7 @@ public class Chunk implements IChunkAccess {
@@ -18,7 +18,7 @@ index c4103680d4..9433d04f43 100644
return this.a(blockposition, i, this.world.getWorldProvider().g());
}
diff --git a/src/main/java/net/minecraft/server/IWorldReader.java b/src/main/java/net/minecraft/server/IWorldReader.java
-index bac6c9d65b..0930552b1f 100644
+index bac6c9d65..0930552b1 100644
--- a/src/main/java/net/minecraft/server/IWorldReader.java
+++ b/src/main/java/net/minecraft/server/IWorldReader.java
@@ -36,6 +36,22 @@ public interface IWorldReader extends IIBlockAccess {
@@ -45,10 +45,10 @@ index bac6c9d65b..0930552b1f 100644
@Nullable
IChunkAccess getChunkAt(int i, int j, ChunkStatus chunkstatus, boolean flag);
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
-index 55e8c7c7d4..e8831e2a40 100644
+index 01f510588..cdc5d7009 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
-@@ -49,7 +49,7 @@ public abstract class World implements IIBlockAccess, GeneratorAccess, AutoClose
+@@ -46,7 +46,7 @@ public abstract class World implements IIBlockAccess, GeneratorAccess, AutoClose
protected final java.util.Set<TileEntity> tileEntityListUnload = com.google.common.collect.Sets.newHashSet(); // Paper
private final long b = 16777215L;
private final Thread c;
@@ -57,7 +57,7 @@ index 55e8c7c7d4..e8831e2a40 100644
protected int j = (new Random()).nextInt();
protected final int k = 1013904223;
protected float l;
-@@ -211,6 +211,83 @@ public abstract class World implements IIBlockAccess, GeneratorAccess, AutoClose
+@@ -208,6 +208,83 @@ public abstract class World implements IIBlockAccess, GeneratorAccess, AutoClose
return i < 0 || i >= 256;
}