Fix telepad running server only code on the client

This commit is contained in:
tterrag1098 committed 2015-04-09 13:48:26 -04:00
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());