more fixes

This commit is contained in:
Player Name 2026-07-22 13:02:48 +02:00
parent 9ce45ddcc0
commit c6fd45eb62
2 changed files with 3 additions and 1 deletions

View file

@ -22,7 +22,6 @@ import core.game.bots.Script
import core.game.interaction.IntType
import core.game.interaction.InteractionListeners
import core.game.world.ImmerseWorld
import core.game.world.repository.Repository
import java.io.File
import java.io.FileReader
import java.util.Random

View file

@ -64,6 +64,9 @@ public final class StatBoostSpell extends MagicSpell {
int size = 0;
for (Player o : pl) {
if (size >= doses) break;
if (o == player) {
continue;
}
if (!o.isActive() || o.getLocks().isInteractionLocked()) {
continue;
}