mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 11:14:44 +02:00
Fixed bug where Berserk deletes items
when the players inventory is full. Fixes #1947
This commit is contained in:
@ -69,6 +69,9 @@ public class Unarmed {
|
||||
|
||||
nextSlot++;
|
||||
}
|
||||
|
||||
// Inventory is full - cancel the item pickup
|
||||
return false;
|
||||
}
|
||||
else if (firstEmpty != -1) {
|
||||
drop.remove();
|
||||
|
Reference in New Issue
Block a user