DenseOres icon indicating copy to clipboard operation
DenseOres copied to clipboard

Console error when SpongeForge is installed

Open NEXUS2345 opened this issue 8 years ago • 2 comments

In the current DenseOres alpha, if any dense ore is broken while SpongeForge is installed, the following console error is thrown: https://gist.github.com/NEXUS2345/405bc2e4bd054249044b

Following this, for other clients connected to the server, the block appears to not break, and for all clients in the area, it becomes impossible to break certain block types. This only occurs if SpongeForge is installed and does not depend on the DenseOres version.

The SpongeForge issue can be found here: https://github.com/SpongePowered/SpongeForge/issues/580

NEXUS2345 avatar Mar 23 '16 23:03 NEXUS2345

@rwtema: While Sponge is causing this issue, we can't completely resolve it without your help.

In BlockDenseOre#getExpDrop, you check if the IBlockAccess passed in is a World. I'm going to change Sponge to pass in a proxy IBlockAccess that will work correctly, but it won't be a World.

Is it possible for you to change your check to allow Sponge to pass in its own IBlockAccess implementation (e.g. changing your code to check for the specific type of IBlockAccess you don't want).

Aaron1011 avatar Apr 09 '16 23:04 Aaron1011

Is someone looking into this issue?

Nachty avatar Sep 01 '16 10:09 Nachty