mirror of
https://github.com/Auxilor/EcoMobs.git
synced 2025-12-21 16:09:24 +00:00
Removed 10tick delay on timer
This commit is contained in:
@@ -17,11 +17,9 @@ public class ChunkLoadTicker implements BossTicker {
|
||||
public void tick(@NotNull final EcoBoss boss,
|
||||
@NotNull final LivingEntity entity,
|
||||
final long tick) {
|
||||
if (tick % 10 == 0) {
|
||||
Chunk chunk = entity.getLocation().getChunk();
|
||||
if (!chunk.isLoaded()) {
|
||||
chunk.load();
|
||||
}
|
||||
Chunk chunk = entity.getLocation().getChunk();
|
||||
if (!chunk.isLoaded()) {
|
||||
chunk.load();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user