Fix data values not being correct in shop page.
This commit is contained in:
parent
d1c7879224
commit
523c194c56
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user