Class ProtectionSignManager.ItemTransferProtection

java.lang.Object
org.kingdoms.managers.protectionsign.ProtectionSignManager.ItemTransferProtection
All Implemented Interfaces:
org.bukkit.event.Listener
Enclosing class:
ProtectionSignManager

public static final class ProtectionSignManager.ItemTransferProtection extends Object implements org.bukkit.event.Listener
  • Constructor Details

    • ItemTransferProtection

      public ItemTransferProtection()
  • Method Details

    • onProtectedTransfer

      public void onProtectedTransfer(org.bukkit.event.inventory.InventoryMoveItemEvent event)
      Prevent unauthorized hopper item transfers. Should allow transfers if the destination inventory is also protected by the SAME owner.