add waila support

This commit is contained in:
asdflj committed 2022-11-30 10:29:37 +08:00
1 parent 7f6933483f
commit b3fa0c09d1
25 files changed
+663 -25

No files matched your search

@@ -120,11 +120,9 @@ public abstract class PartSharedFluidBus extends PartUpgradeable implements IGri
return null;
}
protected int calculateAmountToSend()
{
public int calculateAmountToSend() {
double amount = 1000D;
switch( this.getInstalledUpgrades( Upgrades.SPEED ) )
{
switch (this.getInstalledUpgrades(Upgrades.SPEED)) {
case 4:
amount = amount * 1.5;
case 3: