Class BuyFarmerEvent

java.lang.Object
xyz.geik.farmer.listeners.backend.BuyFarmerEvent
All Implemented Interfaces:
org.bukkit.event.Listener

public class BuyFarmerEvent extends Object implements org.bukkit.event.Listener
When someone buys farmer this event triggers to add user to farmer and adds farmer to cache
  • Constructor Details

    • BuyFarmerEvent

      public BuyFarmerEvent()
      Constructor of class
  • Method Details

    • farmerBoughtEvent

      public void farmerBoughtEvent(@NotNull @NotNull FarmerBoughtEvent e)
      Farmer bought event contains;
      • adds user of farmer
      • adds farmer to cache value
      Parameters:
      e - FarmerBoughtEvent listener