diff options
Diffstat (limited to 'src/main/java/gregtech/api/GregTech_API.java')
| -rw-r--r-- | src/main/java/gregtech/api/GregTech_API.java | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/src/main/java/gregtech/api/GregTech_API.java b/src/main/java/gregtech/api/GregTech_API.java index dac494d9bc..1cc19e7de4 100644 --- a/src/main/java/gregtech/api/GregTech_API.java +++ b/src/main/java/gregtech/api/GregTech_API.java @@ -389,9 +389,11 @@ public class GregTech_API {       * @param aZ     is the Z-Coord of the update causing Block       */      public static boolean causeMachineUpdate(World aWorld, int aX, int aY, int aZ) { -        if (!aWorld.isRemote) -            new Thread(new GT_Runnable_MachineBlockUpdate(aWorld, aX, aY, aZ), "Machine Block Updating").start(); -        return true; +        if (!aWorld.isRemote) { +            GT_Runnable_MachineBlockUpdate.setMachineUpdateValues(aWorld, aX, aY, aZ); +            return true; +        } +        return false;      }      /** | 
