Minor bugfixes

This commit is contained in:
Anuken
2018-09-06 09:08:54 -04:00
parent ae30bdd599
commit f47fb01614
4 changed files with 7 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ public class BlockInventoryFragment extends Fragment{
@Remote(called = Loc.server, targets = Loc.both, forward = true)
public static void requestItem(Player player, Tile tile, Item item, int amount){
if(player == null) return;
if(player == null || tile == null) return;
int removed = tile.block().removeStack(tile, item, amount);