mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2025-01-03 13:38:21 +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) {}
|
} catch (ReflectiveOperationException ignored) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
inv = grabFieldOfTypeFromObject(ISpecialPlayerInventory.class, inventory);
|
inv = grabFieldOfTypeFromObject(expected, inventory);
|
||||||
|
|
||||||
if (expected.isInstance(inv)) {
|
if (expected.isInstance(inv)) {
|
||||||
return expected.cast(inv);
|
return expected.cast(inv);
|
||||||
|
|
Loading…
Reference in a new issue