Package com.palmergames.bukkit.towny.object

Examples of com.palmergames.bukkit.towny.object.Town.canPayFromHoldings()


        }

        // Resident doesn't have enough funds.
        if (townPrice > 0) {
          Town town = defenderResident.getTown();
          if (!town.canPayFromHoldings(townPrice)) {
            // Town doesn't have enough funds.
            townPrice = town.getHoldingBalance();
            try {
              plugin.getTownyUniverse().getWarEvent().remove(attackerResident.getTown(), town);
            } catch (NotRegisteredException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.