Skip to content

Commit

Permalink
Patches for fixing Su5eD#6
Browse files Browse the repository at this point in the history
Will resolve Patch request Su5eD#6
  • Loading branch information
Kanzaji committed Nov 14, 2023
1 parent cfc62fe commit acfde25
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/ic2/core/util/StackUtil.java
+++ b/ic2/core/util/StackUtil.java
@@ -98,7 +98,7 @@

public static StackUtil.AdjacentInv getAdjacentInventory(TileEntity source, EnumFacing dir) {
TileEntity tileentity = source.getWorld().getTileEntity(source.getPos().offset(dir));
- if (!isInventoryTile(tileentity, dir)) {
+ if (!isInventoryTile(tileentity, dir.getOpposite())) {
return null;
} else {
GameProfile gameprofile;
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/ic2/core/util/StackUtil.java
+++ b/ic2/core/util/StackUtil.java
@@ -98,7 +98,7 @@

public static StackUtil.AdjacentInv getAdjacentInventory(TileEntity source, EnumFacing dir) {
TileEntity tileentity = source.getWorld().getTileEntity(source.getPos().offset(dir));
- if (!isInventoryTile(tileentity, dir)) {
+ if (!isInventoryTile(tileentity, dir.getOpposite())) {
return null;
} else {
GameProfile gameprofile;

1 comment on commit acfde25

@Kanzaji
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops! I pinged wrong issue >.> This was meant to be a fix for Su5eD#7. Sorry for confusion!

Please sign in to comment.