mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 02:17:42 +01:00
Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly Paper Changes: c6987e1a Peek the unload queue for chunk generation checks (#2332) 4ac69cec Bring task execution into server tick timings (#2357) edce5384 Amend PlayerInteractAtEntityEvent javadoc for ArmorStands (#2309) 8ecd4337 Set spawning entity for fireworks spawned by a crossbow (#2358)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 5fadba03d3eee640f5e3e1a76aab927393d333d1 Mon Sep 17 00:00:00 2001
|
||||
From 0d54d19e633cb87e2098663ac8426a26bc1aacbd Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Thu, 6 Jun 2019 23:23:52 -0500
|
||||
Subject: [PATCH] Block and Fluid Tick Events
|
||||
@@ -10,10 +10,10 @@ Subject: [PATCH] Block and Fluid Tick Events
|
||||
3 files changed, 29 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
||||
index 6491596538..8446dfd0a0 100644
|
||||
index b8e964c974..5d319d1371 100644
|
||||
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
||||
@@ -445,13 +445,13 @@ public class WorldServer extends World {
|
||||
@@ -451,13 +451,13 @@ public class WorldServer extends World {
|
||||
gameprofilerfiller.enter("randomTick");
|
||||
IBlockData iblockdata = chunksection.getType(blockposition2.getX() - j, blockposition2.getY() - j1, blockposition2.getZ() - k);
|
||||
|
||||
@@ -29,7 +29,7 @@ index 6491596538..8446dfd0a0 100644
|
||||
fluid.b(this, blockposition2, this.random);
|
||||
}
|
||||
|
||||
@@ -540,6 +540,7 @@ public class WorldServer extends World {
|
||||
@@ -546,6 +546,7 @@ public class WorldServer extends World {
|
||||
Fluid fluid = this.getFluid(nextticklistentry.a);
|
||||
|
||||
if (fluid.getType() == nextticklistentry.b()) {
|
||||
@@ -37,7 +37,7 @@ index 6491596538..8446dfd0a0 100644
|
||||
fluid.a((World) this, nextticklistentry.a);
|
||||
}
|
||||
|
||||
@@ -549,6 +550,7 @@ public class WorldServer extends World {
|
||||
@@ -555,6 +556,7 @@ public class WorldServer extends World {
|
||||
IBlockData iblockdata = this.getType(nextticklistentry.a);
|
||||
|
||||
if (iblockdata.getBlock() == nextticklistentry.b()) {
|
||||
@@ -62,10 +62,10 @@ index 9dfba251ea..775d40ab1b 100644
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
index a734a87c41..9b4e57424e 100644
|
||||
index a2b6c3c94a..42bab6d574 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
@@ -2338,6 +2338,24 @@ public class CraftWorld implements World {
|
||||
@@ -2349,6 +2349,24 @@ public class CraftWorld implements World {
|
||||
}
|
||||
// Paper end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user