Skip to content

Commit

Permalink
Fixed detection of equipment for entities when WildStacker is install…
Browse files Browse the repository at this point in the history
…ed (#839)
  • Loading branch information
OmerBenGera committed Jan 13, 2022
1 parent ec7945d commit f2cbb17
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -45,7 +45,9 @@ public List<ISuperiorCommand> getCommands() {

private final class MobDropsListener implements Listener {

@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
// Priority is set to HIGH for fixing detection with WildStacker
// https://github.com/BG-Software-LLC/SuperiorSkyblock2/issues/540
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
public void onLastDamageEntity(EntityDamageEvent e) {
if (!(e.getEntity() instanceof LivingEntity))
return;
Expand Down

0 comments on commit f2cbb17

Please sign in to comment.