Skip to content

Commit

Permalink
Run rupture task on the target entity's scheduler (#5135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr authored Jan 14, 2025
1 parent bfbefa7 commit 0063a4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void processRupture(@NotNull LivingEntity target) {

RuptureTaskMeta ruptureTaskMeta = new RuptureTaskMeta(mcMMO.p, ruptureTask);

mcMMO.p.getFoliaLib().getImpl().runAtEntityTimer(mmoPlayer.getPlayer(), ruptureTask, 1, 1);
mcMMO.p.getFoliaLib().getImpl().runAtEntityTimer(target, ruptureTask, 1, 1);
target.setMetadata(MetadataConstants.METADATA_KEY_RUPTURE, ruptureTaskMeta);

// if (mmoPlayer.useChatNotifications()) {
Expand Down

0 comments on commit 0063a4f

Please # to comment.