Package com.garbagemule.MobArena.ArenaClass

Examples of com.garbagemule.MobArena.ArenaClass.ArmorType


            contents[last] = null;
        }
        // Check the remaining three of the four last slots for armor
        for (int i = contents.length-1; i > contents.length-5; i--) {
            if (contents[i] == null) continue;
            ArmorType type = ArmorType.getType(contents[i]);
            if (type == null || type == ArmorType.HELMET) continue;
           
            switch (type) {
                case CHESTPLATE: inv.setChestplate(contents[i])break;
                case LEGGINGS:   inv.setLeggings(contents[i]);    break;
View Full Code Here

TOP

Related Classes of com.garbagemule.MobArena.ArenaClass.ArmorType

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.