mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
Fix bad diff
By: md_5 <git@md-5.net>
This commit is contained in:
parent
30cdbb75b6
commit
62c185e909
@ -114,7 +114,11 @@
|
|||||||
- iterator = list.iterator();
|
- iterator = list.iterator();
|
||||||
+ return true;
|
+ return true;
|
||||||
+ }
|
+ }
|
||||||
+
|
|
||||||
|
- while (iterator.hasNext()) {
|
||||||
|
- entityhuman = (EntityHuman) iterator.next();
|
||||||
|
- entityhuman.addEffect(new MobEffect(this.secondaryEffect, i, 0, true, true));
|
||||||
|
- }
|
||||||
+ return false;
|
+ return false;
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
@ -127,11 +131,7 @@
|
|||||||
+ List list = getHumansInRange();
|
+ List list = getHumansInRange();
|
||||||
+
|
+
|
||||||
+ applyEffect(list, this.primaryEffect, i, b0);
|
+ 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()) {
|
+ if (hasSecondaryEffect()) {
|
||||||
+ applyEffect(list, this.secondaryEffect, i, 0);
|
+ applyEffect(list, this.secondaryEffect, i, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user