CivClassic / Citadel

A Minecraft plugin to protect your chests and builds using in-game materials. Requires an attacker to break each block a certain number of times. Built for Paper 1.16.5
BSD 3-Clause "New" or "Revised" License
1 stars 21 forks source link

InventoryListener :: another attempt #46

Closed Protonull closed 4 years ago

Protonull commented 4 years ago

I think we may have been taking for granted that the inventory locations would be safe by nature of the InventoryMoveItemEvent being called in the first place. This change mostly adds a check at the start of the event.