Server crash with ore excavation overloaded and ex2
tyler489 opened this issue ยท 2 comments
Minecraft Version: maybe i dont wanna replace 1.12
Overloaded Version: 0.0.26
Seems that float chance = event.getDropChance(); for(ItemStack stack: event.getDrops()) { if (world.rand.nextFloat() <= chance) { EntityItem toSpawn = new EntityItem(world, player.posX, player.posY, player.posZ, stack); world.spawnEntity(toSpawn);
is being called both by overloaded and by ore excavation. Although i could be wrong https://pastebin.com/3d4iZAtx
A work around might be to get item position and compair it to player position if its the same the cancel the item spawn event?