mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 07:55:41 +00:00
Fix telepad running server only code on the client
This commit is contained in:
1 parent
dc09f21cf2
commit
87c96d3169
1 file changed
+1
-1
@@ -125,7 +125,7 @@ public class TileTelePad extends TileTravelAnchor implements IInternalPowerRecei
|
||||
activeSound.setVolume(MathHelper.clamp_float(spinSpeed, 0.1f, 1));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if(!worldObj.isRemote) {
|
||||
if(active()) {
|
||||
if(powerUsed >= maxPower) {
|
||||
teleport(toTeleport.poll());
|
||||
|
||||
Reference in new issue
Block a user