mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-23 19:35:10 -06:00
more fixes
This commit is contained in:
parent
9ce45ddcc0
commit
c6fd45eb62
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue