mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 03:32:46 +01:00
Fix bad diff
This commit is contained in:
parent
ef2f38267f
commit
b8f84f375b
1 changed files with 6 additions and 6 deletions
|
@ -114,7 +114,11 @@
|
|||
- iterator = list.iterator();
|
||||
+ return true;
|
||||
+ }
|
||||
+
|
||||
|
||||
- while (iterator.hasNext()) {
|
||||
- entityhuman = (EntityHuman) iterator.next();
|
||||
- entityhuman.addEffect(new MobEffect(this.secondaryEffect, i, 0, true, true));
|
||||
- }
|
||||
+ return false;
|
||||
+ }
|
||||
+ }
|
||||
|
@ -127,11 +131,7 @@
|
|||
+ List list = getHumansInRange();
|
||||
+
|
||||
+ applyEffect(list, this.primaryEffect, i, b0);
|
||||
|
||||
- while (iterator.hasNext()) {
|
||||
- entityhuman = (EntityHuman) iterator.next();
|
||||
- entityhuman.addEffect(new MobEffect(this.secondaryEffect, i, 0, true, true));
|
||||
- }
|
||||
+
|
||||
+ if (hasSecondaryEffect()) {
|
||||
+ applyEffect(list, this.secondaryEffect, i, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue