Turret reload 'fix' moved to PowerTurret
This commit is contained in:
@@ -47,6 +47,13 @@ public class PowerTurret extends Turret{
|
||||
return shootType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldConsume(){
|
||||
//when the block is first placed, it shouldn't consume power/liquid just to "cool down" from the initial reload
|
||||
//thus, it should only consume once it has actually shot at something
|
||||
return isShooting() || (reloadCounter < reload && totalShots > 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasAmmo(){
|
||||
//you can always rotate, but never shoot if there's no power
|
||||
|
||||
@@ -351,9 +351,7 @@ public class Turret extends ReloadTurret{
|
||||
|
||||
@Override
|
||||
public boolean shouldConsume(){
|
||||
//when the block is first placed, it shouldn't consume power/liquid just to "cool down" from the initial reload
|
||||
//thus, it should only consume once it has actually shot at something
|
||||
return isShooting() || (reloadCounter < reload && totalShots > 0);
|
||||
return isShooting() || reloadCounter < reload;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user