Class ProtectionSignManager.ItemTransferFactory

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

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

    • ItemTransferFactory

      public ItemTransferFactory()
  • 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.