Skip to content
Browse files

Fixed canBuy to check player level

  • Loading branch information...
1 parent 226d3ba commit 70c4a2216c6e4c0d673fed4359975341116a9cd9 @Delvar committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/com/mojang/mojam/entity/building/ShopItemSoldier.java
View
3 src/com/mojang/mojam/entity/building/ShopItemSoldier.java
@@ -78,7 +78,6 @@ public void removeEntityNotice(Entity e) {
@Override
boolean canBuy(Player player) {
- // TODO Auto-generated method stub
- return false;
+ return checkPlayerLevel(player);
}
}

0 comments on commit 70c4a22

Please sign in to comment.
Something went wrong with that request. Please try again.