mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
799bfc92e2
By: md_5 <git@md-5.net>
23 lines
1.2 KiB
Diff
23 lines
1.2 KiB
Diff
--- a/net/minecraft/world/level/GeneratorAccess.java
|
|
+++ b/net/minecraft/world/level/GeneratorAccess.java
|
|
@@ -31,11 +31,11 @@
|
|
|
|
LevelTickAccess<Block> getBlockTicks();
|
|
|
|
- private default <T> NextTickListEntry<T> createTick(BlockPosition blockposition, T t0, int i, TickListPriority ticklistpriority) {
|
|
+ default <T> NextTickListEntry<T> createTick(BlockPosition blockposition, T t0, int i, TickListPriority ticklistpriority) { // CraftBukkit - decompile error
|
|
return new NextTickListEntry<>(t0, blockposition, this.getLevelData().getGameTime() + (long) i, ticklistpriority, this.nextSubTickCount());
|
|
}
|
|
|
|
- private default <T> NextTickListEntry<T> createTick(BlockPosition blockposition, T t0, int i) {
|
|
+ default <T> NextTickListEntry<T> createTick(BlockPosition blockposition, T t0, int i) { // CraftBukkit - decompile error
|
|
return new NextTickListEntry<>(t0, blockposition, this.getLevelData().getGameTime() + (long) i, this.nextSubTickCount());
|
|
}
|
|
|
|
@@ -102,4 +102,6 @@
|
|
default void gameEvent(@Nullable Entity entity, GameEvent gameevent, Entity entity1) {
|
|
this.gameEvent(entity, gameevent, entity1.blockPosition());
|
|
}
|
|
+
|
|
+ net.minecraft.server.level.WorldServer getMinecraftWorld(); // CraftBukkit
|
|
}
|