mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
This should stop the servercrashing issue
This commit is contained in:
1 parent
a2bb224bf5
commit
dd421f7308
3 files changed
+15
-2
No files matched your search
@@ -2,6 +2,7 @@ package mekanism.api.lasers;
|
||||
|
||||
import mekanism.api.Coord4D;
|
||||
import mekanism.client.entity.EntityLaser;
|
||||
import mekanism.common.Mekanism;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.particle.EntityNoteFX;
|
||||
@@ -39,11 +40,11 @@ public class LaserManager
|
||||
}
|
||||
}
|
||||
|
||||
renderLaser(world, from, new Coord4D(mop.blockX, mop.blockY, mop.blockZ), direction);
|
||||
Mekanism.proxy.renderLaser(world, from, new Coord4D(mop.blockX, mop.blockY, mop.blockZ), direction);
|
||||
}
|
||||
else
|
||||
{
|
||||
renderLaser(world, from, to, direction);
|
||||
Mekanism.proxy.renderLaser(world, from, to, direction);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user