Package com.kellerkindt.scs.events

Examples of com.kellerkindt.scs.events.ShowCasePlayerSellEvent


   
      int     quantity  = player.isSneaking() ? scs.getSneakAmount(player) : 1;
     
      // buy / sell / exchange
      if (shop instanceof BuyShop) {
        event   = new ShowCasePlayerSellEvent(player, (BuyShop)shop, quantity);
       
      } else if (shop instanceof SellShop) {
        event   = new ShowCasePlayerBuyEvent(player, (SellShop)shop, quantity);
       
      } else if (shop instanceof ExchangeShop) {
View Full Code Here

TOP

Related Classes of com.kellerkindt.scs.events.ShowCasePlayerSellEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.