diff --git a/SpigotCore_20/src/de/steamwar/core/CraftbukkitWrapper20.java b/SpigotCore_20/src/de/steamwar/core/CraftbukkitWrapper20.java index f223879..6896345 100644 --- a/SpigotCore_20/src/de/steamwar/core/CraftbukkitWrapper20.java +++ b/SpigotCore_20/src/de/steamwar/core/CraftbukkitWrapper20.java @@ -26,13 +26,12 @@ import net.minecraft.world.level.World; import net.minecraft.world.level.chunk.Chunk; import net.minecraft.world.level.chunk.ChunkStatus; import net.minecraft.world.level.lighting.LevelLightEngine; -import net.minecraft.world.level.lighting.LightEngine; import org.bukkit.entity.Player; public class CraftbukkitWrapper20 implements CraftbukkitWrapper.ICraftbukkitWrapper { private static final Reflection.MethodInvoker getHandle = Reflection.getMethod("{obc}.CraftChunk", "getHandle", ChunkStatus.class); - private static final Reflection.MethodInvoker getLightEngine = Reflection.getTypedMethod(World.class, null, LightEngine.class); + private static final Reflection.MethodInvoker getLightEngine = Reflection.getTypedMethod(World.class, null, LevelLightEngine.class); @Override public void sendChunk(Player p, int chunkX, int chunkZ) {