mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 12:42:05 -07:00
Rebuild patches
Because you know... That's how you commit them...
This commit is contained in:
@@ -18,7 +18,7 @@ the blockstate that will be valid for restoration, as opposed to dropping
|
|||||||
information on restoration when the event is cancelled.
|
information on restoration when the event is cancelled.
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||||
index 361cc6a92e..2bc0368d04 100644
|
index 361cc6a92e..5a237fa1dd 100644
|
||||||
--- a/src/main/java/net/minecraft/server/World.java
|
--- a/src/main/java/net/minecraft/server/World.java
|
||||||
+++ b/src/main/java/net/minecraft/server/World.java
|
+++ b/src/main/java/net/minecraft/server/World.java
|
||||||
@@ -0,0 +0,0 @@ public abstract class World implements GeneratorAccess, AutoCloseable {
|
@@ -0,0 +0,0 @@ public abstract class World implements GeneratorAccess, AutoCloseable {
|
||||||
@@ -48,4 +48,13 @@ index 361cc6a92e..2bc0368d04 100644
|
|||||||
this.capturedBlockStates.put(blockposition.immutableCopy(), blockstate);
|
this.capturedBlockStates.put(blockposition.immutableCopy(), blockstate);
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
@@ -0,0 +0,0 @@ public abstract class World implements GeneratorAccess, AutoCloseable {
|
||||||
|
public IBlockData getType(BlockPosition blockposition) {
|
||||||
|
// CraftBukkit start - tree generation
|
||||||
|
if (captureTreeGeneration) {
|
||||||
|
- CapturedBlockState previous = capturedBlockStates.get(blockposition);
|
||||||
|
+ CraftBlockState previous = capturedBlockStates.get(blockposition); // Paper
|
||||||
|
if (previous != null) {
|
||||||
|
return previous.getHandle();
|
||||||
|
}
|
||||||
--
|
--
|
Reference in New Issue
Block a user