WorldGuard

WorldGuard

8M Downloads

Could not pass event InventoryClickEvent

LadyCailinBot opened this issue ยท 4 comments

commented

WORLDGUARD-3981 - Reported by x1p

This error appeared when this player shift clicked on a (kit) gui which contains a forbidden block. Namely the barrier. The player can't of course get the item in the gui because this gui controls several kits.

The error: https://hastebin.com/yiwuwomawu.cs

WG blacklist.txt settings part:

# Possession of forbidden items
[BARRIER,STRUCTURE_VOID,STRUCTURE_BLOCK]
ignore-groups=admin,builder
on-place=notify,deny,log
on-acquire=notify,deny,log
on-drop=notify,deny,log
on-dispense=notify,deny,log

WG version: WorldGuard v7.0.0-SNAPSHOT;1749-a6261b9

commented

Comment by me4502

Try the latest build, for some reason the game was passing null inventories in the click event. It's a bug in Spigot etc, but this'll prevent the error showing up.

commented

Comment by x1p

Tried both latest WE + WG and got only errors. Multiple plugins disabled themselfs.

https://hastebin.com/zaxamosave.cs

commented

Comment by me4502

Please try the new builds, there was an issue with the bStats repo that caused a few issues.

commented

Comment by x1p

Much better as far as I can see. No errors at startup. Will soon test the original issue.
I assume this can be closed. Thanks.