Fix single energy pulse
This commit is contained in:
parent
318eb5c4a7
commit
22b202fb25
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ public class EnergyPulser {
|
|||
}
|
||||
|
||||
public void update() {
|
||||
if (!isActive && hasPulsed)
|
||||
hasPulsed = false;
|
||||
|
||||
if (powerReceptor == null || !isActive || tick++ % 10 != 0)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue