mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 04:32:18 +00:00
Removed unnecessary client sync
50% FPS drop from just a single buffer is a bit too much...
This commit is contained in:
1 parent
b9daaa1d74
commit
caed1611f6
1 file changed
+2
-2
@@ -63,7 +63,7 @@ public class TileBuffer extends AbstractPowerConsumerEntity implements IPaintabl
|
||||
if (!isCreative()) {
|
||||
setEnergyStored(getEnergyStored() - transmitted);
|
||||
}
|
||||
return transmitted > 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -106,7 +106,7 @@ public class TileBuffer extends AbstractPowerConsumerEntity implements IPaintabl
|
||||
public int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate) {
|
||||
return hasPower() && getIoMode(from).canRecieveInput() ? super.receiveEnergy(from, maxReceive, isCreative() || simulate) : 0;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate) {
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user