This PR should fix some issues that the ForceField expansion caused on Folia 1.20.4.
[15:53:58 WARN]: [CombatLogX] Async task for CombatLogX v11.4.0.1.1193 generated an exception
java.lang.NullPointerException: Cannot read field "captureTreeGeneration" because the return value of "net.minecraft.world.level.World.getCurrentWorldData()" is null
at net.minecraft.world.level.Level.getBlockState(Level.java:1215) ~[?:?]
at org.bukkit.craftbukkit.v1_20_R3.block.CraftBlock.getType(CraftBlock.java:238) ~[folia-1.20.4.jar:git-Folia-"25ee657"]
at combatlogx.expansion.force.field.task.ForceFieldTask.canPlace(ForceFieldTask.java:178) ~[?:?]
[14:03:34 ERROR]: [CombatLogX] Unhandled exception occurred in onPacketReceiving(PacketEvent) for CombatLogX
java.lang.NullPointerException: Cannot read field "captureTreeGeneration" because the return value of "net.minecraft.world.level.World.getCurrentWorldData()" is null
at net.minecraft.world.level.Level.getBlockState(Level.java:1215) ~[?:?]
at org.bukkit.craftbukkit.v1_20_R3.block.CraftBlock.getType(CraftBlock.java:238) ~[folia-1.20.4.jar:git-Folia-"25ee657"]
at combatlogx.expansion.force.field.task.ForceFieldTask.canPlace(ForceFieldTask.java:178) ~[?:?]
This PR should fix some issues that the ForceField expansion caused on Folia 1.20.4.