BG-Software-LLC / WildChests

Sell chests, auto crafters, storage units, larger chests and more in one plugin!
https://bg-software.com/wildchests/
GNU General Public License v3.0
39 stars 23 forks source link

Hoppers Not Transfering Items to Storage Units when using Airplane 1.16 #140

Open Meliodazzz opened 2 years ago

Meliodazzz commented 2 years ago

Minecraft's Version

Server Version: 1.16.5 git-Airplane-12

Plugin's Version

WildChests Version 2022.7

Describe the bug

Hoppers dont transfer items to Storage units

To Reproduce

Place a storage unit, connect a hopper to it and put items in the hopper.

Additional Information

No response

Meliodazzz commented 2 years ago

Another note, I just tested on normal 1.16.5 latest paperspigot and it worked fine. This issue seems to only occur with 1.16.5 Airplane Paper Spigot

OmerBenGera commented 2 years ago

Another note, I just tested on normal 1.16.5 latest paperspigot and it worked fine. This issue seems to only occur with 1.16.5 Airplane Paper Spigot

Does it occur only with Airplane?

Meliodazzz commented 2 years ago

Another note, I just tested on normal 1.16.5 latest paperspigot and it worked fine. This issue seems to only occur with 1.16.5 Airplane Paper Spigot

Does it occur only with Airplane?

As far as I know and from my testing. Yes

OmerBenGera commented 2 years ago

Sadly, I cannot support Airplaine in 1.16. The issue is that they changed the way they check for items in a chest by using a new method called "getHopperItem". Theoretically, I could just override its behavior, however it's declared as final in TileEntityLootable, which makes it impossible to override it. Ask the developers of Airplane if they can make it not-final so other plugins can override it.