Fix superconductors overflowing
This commit is contained in:
parent
0bcf782f57
commit
2d64004171
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@ public class AdjustableSUBlockEntity extends EnergyStorageBlockEntity implements
|
|||
return maxOutput + extra;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void resetUpgrades() {
|
||||
super.resetUpgrades();
|
||||
superconductors = 0;
|
||||
}
|
||||
|
||||
public void handleGuiInputFromClient(int id, boolean shift, boolean ctrl) {
|
||||
if(shift){
|
||||
id *= 4;
|
||||
|
|
Loading…
Reference in a new issue