geforkt von Mirrors/Paper
SPIGOT-4304: Turtle helmet overrides water breathing potion
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
90eefedd86
Commit
61903e962a
@ -270,11 +270,10 @@
|
|||||||
this.a(mobeffect);
|
this.a(mobeffect);
|
||||||
return true;
|
return true;
|
||||||
- } else if (mobeffect1.a(mobeffect)) {
|
- } else if (mobeffect1.a(mobeffect)) {
|
||||||
- this.a(mobeffect1, true);
|
|
||||||
+ // CraftBukkit start
|
+ // CraftBukkit start
|
||||||
+ } else if (event.isOverride()) {
|
+ } else if (event.isOverride()) {
|
||||||
+ this.effects.put(mobeffect.getMobEffect(), mobeffect);
|
+ mobeffect1.a(mobeffect);
|
||||||
+ this.a(mobeffect, true);
|
this.a(mobeffect1, true);
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren