Skip to content

Commit

Permalink
fix(bukkit): revert creature target condition in runnable
Browse files Browse the repository at this point in the history
  • Loading branch information
Syrent committed Jun 11, 2024
1 parent d247445 commit 30cbe12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class FeaturePreventCreatureTarget: ListenedFeature("prevent_creature_target", c

override fun enable() {
runSync({
if (isActive()) return@runSync
if (!isActive()) return@runSync
for (player in SayanVanishBukkitAPI.getInstance().getVanishedUsers().mapNotNull { it.player() }) {
if (StickyNote.isFolia()) {
// TODO: Creature modification cannot be off region thread
Expand Down

0 comments on commit 30cbe12

Please sign in to comment.