mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Fix compile errors in API package
This commit is contained in:
1 parent
1dfba5e6c9
commit
4247ba136a
71 files changed
+387
-452
No files matched your search
@@ -36,7 +36,7 @@ public final class TransporterUtils
|
||||
|
||||
for(ForgeDirection orientation : ForgeDirection.VALID_DIRECTIONS)
|
||||
{
|
||||
TileEntity tile = tileEntity.coord().getFromSide(orientation).getTileEntity(tileEntity.world());
|
||||
TileEntity tile = tileEntity.coord().offset(orientation).getTileEntity(tileEntity.world());
|
||||
|
||||
if(tile instanceof ITransporterTile)
|
||||
{
|
||||
@@ -149,7 +149,7 @@ public final class TransporterUtils
|
||||
|
||||
for(ForgeDirection orientation : ForgeDirection.VALID_DIRECTIONS)
|
||||
{
|
||||
TileEntity inventory = transporter.coord().getFromSide(orientation).getTileEntity(transporter.world());
|
||||
TileEntity inventory = transporter.coord().offset(orientation).getTileEntity(transporter.world());
|
||||
|
||||
if(inventory instanceof IInventory && !(inventory instanceof ITransmitterTile))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user