Use Material instead of item ID.

This commit is contained in:
garbagemule 2013-11-28 02:12:51 +01:00
parent 7d01d613be
commit 5ff41d20fe

View File

@ -1384,7 +1384,7 @@ public class ArenaImpl implements Arena
}
// Normal stack
else {
if (!inv.contains(stack.getTypeId(), stack.getAmount())) {
if (!inv.contains(stack.getType(), stack.getAmount())) {
return false;
}
}