调整DPS发电机发电量
This commit is contained in:
parent
c259e4842c
commit
7b2d159410
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ public class DPSGeneratorEntity extends LivingEntity implements GeoEntity {
|
||||||
|
|
||||||
// 发电
|
// 发电
|
||||||
((SyncedEntityEnergyStorage) entityCap).setMaxReceive(entityCap.getMaxEnergyStored());
|
((SyncedEntityEnergyStorage) entityCap).setMaxReceive(entityCap.getMaxEnergyStored());
|
||||||
entityCap.receiveEnergy(Math.round(256 * damage), false);
|
entityCap.receiveEnergy(Math.round(128 * damage), false);
|
||||||
((SyncedEntityEnergyStorage) entityCap).setMaxReceive(0);
|
((SyncedEntityEnergyStorage) entityCap).setMaxReceive(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue