Fix NPE in Gambleshops and add missing messages for gamble shops.
This commit is contained in:
@@ -308,7 +308,7 @@ public class PlayerShop {
|
||||
private TransactionError executeGambleTransaction(Player player) {
|
||||
ItemStack itemStack = getRandomItem();
|
||||
if (itemStack == null)
|
||||
return null;
|
||||
return TransactionError.INSUFFICIENT_FUNDS_SHOP;
|
||||
|
||||
itemStack = itemStack.clone();
|
||||
double price = getPrice();
|
||||
|
||||
Reference in New Issue
Block a user