@@ -497,7 +497,7 @@ public static void addQualityEffects(int quality, int brewAlc, Player player) {
497497 duration *= 4 ;
498498 }
499499 if (duration > 0 ) {
500- PotionEffectType .POISON .createEffect (duration , 0 ). apply ( player );
500+ Util . reapplyPotionEffect ( player , PotionEffectType .POISON .createEffect (duration , 0 ), true );
501501 }
502502
503503 if (brewAlc > 10 ) {
@@ -511,7 +511,7 @@ public static void addQualityEffects(int quality, int brewAlc, Player player) {
511511 if (!P .use1_14 ) {
512512 duration *= 4 ;
513513 }
514- PotionEffectType .BLINDNESS .createEffect (duration , 0 ). apply ( player );
514+ Util . reapplyPotionEffect ( player , PotionEffectType .BLINDNESS .createEffect (duration , 0 ), true );
515515 }
516516 }
517517
@@ -531,12 +531,12 @@ public void hangoverEffects(final Player player) {
531531 }
532532 int amplifier = getHangoverQuality () / 3 ;
533533
534- PotionEffectType .SLOW .createEffect (duration , amplifier ). apply ( player );
535- PotionEffectType .HUNGER .createEffect (duration , amplifier ). apply ( player );
534+ Util . reapplyPotionEffect ( player , PotionEffectType .SLOW .createEffect (duration , amplifier ), true );
535+ Util . reapplyPotionEffect ( player , PotionEffectType .HUNGER .createEffect (duration , amplifier ), true );
536536 }
537537
538538
539- // #### Sheduled ####
539+ // #### Scheduled ####
540540
541541 public static void drunkeness () {
542542 for (Map .Entry <String , BPlayer > entry : players .entrySet ()) {
0 commit comments