aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/GregTech_API.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/api/GregTech_API.java')
-rw-r--r--src/main/java/gregtech/api/GregTech_API.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/gregtech/api/GregTech_API.java b/src/main/java/gregtech/api/GregTech_API.java
index 2e39cd2181..47c99403ab 100644
--- a/src/main/java/gregtech/api/GregTech_API.java
+++ b/src/main/java/gregtech/api/GregTech_API.java
@@ -31,7 +31,6 @@ import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
-import net.minecraft.util.ChunkCoordinates;
import net.minecraft.world.World;
import com.google.common.collect.Multimap;
@@ -408,7 +407,7 @@ public class GregTech_API {
*/
public static boolean causeMachineUpdate(World aWorld, int aX, int aY, int aZ) {
if (aWorld != null && !aWorld.isRemote && !isDummyWorld(aWorld)) { // World might be null during World-gen
- GT_Runnable_MachineBlockUpdate.setMachineUpdateValues(aWorld, new ChunkCoordinates(aX, aY, aZ));
+ GT_Runnable_MachineBlockUpdate.setMachineUpdateValues(aWorld, aX, aY, aZ);
return true;
}
return false;
@@ -419,7 +418,7 @@ public class GregTech_API {
if (aWorld == null || aWorld.isRemote || isDummyWorld(aWorld)) {
return false;
} // World might be null during World-gen
- GT_Runnable_Cable_Update.setCableUpdateValues(aWorld, new ChunkCoordinates(aX, aY, aZ));
+ GT_Runnable_Cable_Update.setCableUpdateValues(aWorld, aX, aY, aZ);
return true;
}