NucleusPowered / Nucleus

The Ultimate Essentials Plugin for Sponge.
http://nucleuspowered.org
MIT License
160 stars 69 forks source link

/invsee for modified inventories #707

Closed CeperaProduction closed 7 years ago

CeperaProduction commented 7 years ago

Hi. There is one unpleasant bug i found. When i use /invsee on player who is 5-7 bocks and more away from me, inventory gui shows for a half of second and then closes. Player can do anything (walk, jump, e.t.c) but should be near by me for /invsee working.

And everytime when i use /invsee on someone (successfully or not) this warning appears in console: [Server thread/WARN] [Sponge]: Invalid slot count of 41 for container net.minecraft.inventory.ContainerChest@581ddcef with inventory net.minecraft.entity.player.InventoryPlayer@fc29bd7 - most API inventory methods will not be supported

Mods, that i use: Pixelmon-1.10.2-5.0.1, CustomNPCs_1.10.2(20nov16), Dynmap-2.4-forge-1.10.2, spongeforge-1.10.2-2221-5.2.0-BETA-2198

Plugins: griefprevention-1.10.2-2.3.1.257, Nucleus-0.24.3-1.10.2-S5.1-plugin, PermissionManager-2.6.0-API-5.X-6.X, PixelAutoMessages-1.0.1-b9, VoxelSniper-8.2.0-SNAPSHOT, worldedit-sponge-6.1.7-SNAPSHOT-dist

dualspiral commented 7 years ago

With regards to the /invsee distance issue, it's a known issue with Sponge API 5.1, so we work around it by providing a companion plugin to Nucleus. You can download and install it from https://ore.spongepowered.org/Nucleus/Nucleus-Mixins

The other issue with the warning is also really a problem with mods not playing well with Sponge, probably CustomNPCs, and I haven't got a good way to solve that problem. I am looking into it - see #683