forked from Su5eD/IC2-Patcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Will resolve Patch request Su5eD#6
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
projects/IC2-Patched/patches[2.8.164,2.8.165]/minecraft/ic2/core/util/StackUtil.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
11 changes: 11 additions & 0 deletions
11
projects/IC2-Patched/patches[2.8.221,+]/minecraft/ic2/core/util/StackUtil.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
acfde25
There was a problem hiding this comment.
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!