mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-22 16:05:03 +00:00
Fix mistake in InventoryAccess grabbing ender chest
This commit is contained in:
parent
45de495699
commit
b2156edcc7
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class InventoryAccess implements IInventoryAccess {
|
|||
} catch (ReflectiveOperationException ignored) {}
|
||||
}
|
||||
|
||||
inv = grabFieldOfTypeFromObject(ISpecialPlayerInventory.class, inventory);
|
||||
inv = grabFieldOfTypeFromObject(expected, inventory);
|
||||
|
||||
if (expected.isInstance(inv)) {
|
||||
return expected.cast(inv);
|
||||
|
|
Loading…
Reference in a new issue