1
0
mirror of https://github.com/PaperMC/Paper.git synced 2025-03-02 11:22:01 +01:00

Rebuild patches

Because you know... That's how you commit them...
This commit is contained in:
Shane Freeder 2020-01-28 19:48:56 +00:00
parent 29fe2d1e2f
commit 7bd3a92dfc

View File

@ -18,7 +18,7 @@ the blockstate that will be valid for restoration, as opposed to dropping
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
index 361cc6a92e..2bc0368d04 100644
index 361cc6a92e..5a237fa1dd 100644
--- a/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 {
@ -48,4 +48,13 @@ index 361cc6a92e..2bc0368d04 100644
this.capturedBlockStates.put(blockposition.immutableCopy(), blockstate);
}
// 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();
}
--