1.20: Fix a bunch of compile issues (#9273)

This commit is contained in:
Noah van der Aa
2023-06-08 01:21:20 +02:00
parent ffc53909f5
commit 0ec23e4426
10 changed files with 578 additions and 645 deletions

View File

@@ -4409,7 +4409,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ CraftPlayer player = (CraftPlayer) sender;
+ ServerPlayer handle = player.getHandle();
+ ServerLevel world = (ServerLevel) handle.level;
+ ServerLevel world = (ServerLevel) handle.level();
+ ThreadedLevelLightEngine lightengine = world.getChunkSource().getLightEngine();
+ this.starlightFixLight(handle, world, lightengine, radius, post);
+ }