Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folia 1.21.4 - again same error: "net.minecraft.world.level.Level.getCurrentWorldData()" is null but it's on BreweryGarden #92

Open
RitaSister opened this issue Jan 23, 2025 · 1 comment

Comments

@RitaSister
Copy link

RitaSister commented Jan 23, 2025

[12:51:40 WARN]: [BreweryX] Global task for BreweryX v3.4.9;HEAD generated an exception
java.lang.NullPointerException: null
[12:56:40 WARN]: [BreweryX] Global task for BreweryX v3.4.9;HEAD generated an exception
java.lang.NullPointerException: null

logs: https://mclo.gs/RZ2e1gZ

@RitaSister
Copy link
Author

[15:08:08] [Region Scheduler Thread #5/WARN]: [BreweryX] Global task for BreweryX v3.4.9;HEAD generated an exception -- 803 | java.lang.NullPointerException: Cannot read field "captureTreeGeneration" because the return value of "net.minecraft.world.level.Level.getCurrentWorldData()" is null 804 | at net.minecraft.world.level.Level.getBlockState(Level.java:1398) ~[folia-1.21.4.jar:1.21.4-DEV-4e7607d] 805 | at org.bukkit.craftbukkit.block.CraftBlock.getType(CraftBlock.java:244) ~[folia-1.21.4.jar:1.21.4-DEV-4e7607d] 806 | at dev.jsinco.brewery.garden.objects.GardenPlant.isValid(GardenPlant.java:120) ~[?:?] 807 | at dev.jsinco.brewery.garden.BreweryGarden$PlantGrowthRunnable.lambda$run$0(BreweryGarden.java:95) ~[?:?] 808 | at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[?:?] 809 | at dev.jsinco.brewery.garden.BreweryGarden$PlantGrowthRunnable.run(BreweryGarden.java:94) ~[?:?] 810 | at BreweryX-3.4.9.jar/com.dre.brewery.depend.universalScheduler.foliaScheduler.FoliaScheduler.lambda$runTaskTimer$2(FoliaScheduler.java:70) ~[BreweryX-3.4.9.jar:?] 811 | at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler$GlobalScheduledTask.run(FoliaGlobalRegionScheduler.java:179) ~[folia-1.21.4.jar:?] 812 | at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler.tick(FoliaGlobalRegionScheduler.java:37) ~[folia-1.21.4.jar:?] 813 | at io.papermc.paper.threadedregions.RegionizedServer.globalTick(RegionizedServer.java:293) ~[folia-1.21.4.jar:1.21.4-DEV-4e7607d] 814 | at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.tickRegion(RegionizedServer.java:148) ~[folia-1.21.4.jar:1.21.4-DEV-4e7607d] 815 | at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:418) ~[folia-1.21.4.jar:1.21.4-DEV-4e7607d] 816 | at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[concurrentutil-0.0.3.jar:?] 817 | at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

@RitaSister RitaSister changed the title java.lang.NullPointerException: null - on Folia 1.21.4 Folia 1.21.4 - again same error: "net.minecraft.world.level.Level.getCurrentWorldData()" is null Jan 23, 2025
@RitaSister RitaSister changed the title Folia 1.21.4 - again same error: "net.minecraft.world.level.Level.getCurrentWorldData()" is null Folia 1.21.4 - again same error: "net.minecraft.world.level.Level.getCurrentWorldData()" is null but it's on BreweryGarden Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant