mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +00:00
Add safeguard against drops not being the same as capturedrops. Moved capturing of drops out of armor and knapsack stuff.
This commit is contained in:
1 parent
03755be47d
commit
312fd47360
3 files changed
+14
-4
No files matched your search
@@ -161,7 +161,7 @@ public class KnapsackInventory implements IInventory
|
||||
public void dropItems ()
|
||||
{
|
||||
EntityPlayer player = parent.get();
|
||||
player.captureDrops = true;
|
||||
|
||||
for (int i = 0; i < inventory.length; ++i)
|
||||
{
|
||||
if (this.inventory[i] != null)
|
||||
@@ -170,7 +170,6 @@ public class KnapsackInventory implements IInventory
|
||||
this.inventory[i] = null;
|
||||
}
|
||||
}
|
||||
player.captureDrops = false;
|
||||
}
|
||||
|
||||
public void unequipItems ()
|
||||
|
||||
Reference in new issue
Block a user