Merge branch 'clans-beta' of ssh://184.154.0.242:7999/min/Mineplex into clans-beta
This commit is contained in:
commit
5744178286
@ -10,8 +10,9 @@ public enum ClanIcon
|
||||
MEMBER(Material.SAND, (byte) 1),
|
||||
COMMANDS(Material.RED_SANDSTONE, (byte) 0),
|
||||
ENERGY(Material.SEA_LANTERN, (byte) 0),
|
||||
WAR(Material.CARPET, (byte) 1),
|
||||
ALLIANCE(Material.CARPET, (byte) 6);
|
||||
CASTLE(Material.RECORD_9, (byte) 0),
|
||||
WAR(Material.RECORD_11, (byte) 0),
|
||||
ALLIANCE(Material.RECORD_10, (byte) 0);
|
||||
|
||||
private Material _material;
|
||||
private byte _data;
|
||||
|
@ -142,15 +142,18 @@ public class ClientClass
|
||||
if (slotToken == null)
|
||||
continue;
|
||||
|
||||
if (slotToken.Name == null)
|
||||
continue;
|
||||
|
||||
if (slotToken.Material == null)
|
||||
continue;
|
||||
|
||||
if (slotToken.Material.isEmpty())
|
||||
continue;
|
||||
|
||||
if (_itemFactory.GetItem(slotToken.Name.equalsIgnoreCase("Cobweb") ? "Web" : slotToken.Name) != null)
|
||||
if (_itemFactory.GetItem("Cobweb".equalsIgnoreCase(slotToken.Name) ? "Web" : slotToken.Name) != null)
|
||||
{
|
||||
itemTokenUsage += _itemFactory.GetItem(slotToken.Name.equalsIgnoreCase("Cobweb") ? "Web" : slotToken.Name).getTokenCost();
|
||||
itemTokenUsage += _itemFactory.GetItem("Cobweb".equalsIgnoreCase(slotToken.Name) ? "Web" : slotToken.Name).getTokenCost();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user