Removes applyStartupFixes, and adds controlUpdateDelay
Now, all updating of Stargates' control blocks happens through a queue. The amount of ticks between each time the queue is polled from is configurable using controlUpdateDelay
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package net.knarcraft.stargate.container;
|
||||
|
||||
import net.knarcraft.stargate.portal.Portal;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* A request for updating a portal's control blocks
|
||||
*
|
||||
* @param portal <p>The portal to update the control blocks for</p>
|
||||
*/
|
||||
public record ControlBlockUpdateRequest(@NotNull Portal portal) {
|
||||
}
|
Reference in New Issue
Block a user