mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 11:06:14 +01:00
Use Material instead of item ID.
This commit is contained in:
parent
7d01d613be
commit
5ff41d20fe
@ -1384,7 +1384,7 @@ public class ArenaImpl implements Arena
|
|||||||
}
|
}
|
||||||
// Normal stack
|
// Normal stack
|
||||||
else {
|
else {
|
||||||
if (!inv.contains(stack.getTypeId(), stack.getAmount())) {
|
if (!inv.contains(stack.getType(), stack.getAmount())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user