When a block with drop of Air gets broken it outputs the error below to the console, quite annoying when its a common block and it fills the logs.
[19:47:56 ERROR]: Could not pass event BlockBreakEvent to UhcCore v1.18.5
java.lang.IllegalArgumentException: Cannot drop air
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.EntityItem.setItemStack(EntityItem.java:454) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.EntityItem.<init>(EntityItem.java:42) ~[patched_1.16.4.jar:git-Paper-279]
at org.bukkit.craftbukkit.v1_16_R3.CraftWorld.dropItem(CraftWorld.java:748) ~[patched_1.16.4.jar:git-Paper-279]
at org.bukkit.craftbukkit.v1_16_R3.CraftWorld.dropItemNaturally(CraftWorld.java:763) ~[patched_1.16.4.jar:git-Paper-279]
at com.gmail.val59000mc.scenarios.scenariolisteners.RandomizedDropsListener.onBlockBreak(RandomizedDropsListener.java:90) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor43.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.4.jar:git-Paper-279]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.4.jar:git-Paper-279]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.4.jar:git-Paper-279]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.PlayerInteractManager.breakBlock(PlayerInteractManager.java:324) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.PlayerInteractManager.a(PlayerInteractManager.java:283) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.PlayerInteractManager.a(PlayerInteractManager.java:249) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1472) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.PacketPlayInBlockDig.a(SourceFile:40) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.PacketPlayInBlockDig.a(SourceFile:10) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1136) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1129) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1265) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1000) ~[patched_1.16.4.jar:git-Paper-279]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.4.jar:git-Paper-279]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
When a block with drop of Air gets broken it outputs the error below to the console, quite annoying when its a common block and it fills the logs.