Fix data values not being correct in shop page.

This commit is contained in:
Ben 2016-03-11 19:31:05 +00:00
parent d1c7879224
commit 523c194c56

View File

@ -86,12 +86,12 @@ public abstract class ClansShopPage<T extends ShopBase<ClansManager>> extends Sh
public void addShopItem(int index, ClansShopItem item, String displayName) public void addShopItem(int index, ClansShopItem item, String displayName)
{ {
addShopItem(index, item, (byte) 0, displayName, 1); addShopItem(index, item, (byte) item.getData(), displayName, 1);
} }
public void addShopItem(int index, ClansShopItem item) public void addShopItem(int index, ClansShopItem item)
{ {
addShopItem(index, item, (byte) 0); addShopItem(index, item, (byte) item.getData());
} }
public void addShopItem(int index, ClansShopItem item, byte data) public void addShopItem(int index, ClansShopItem item, byte data)