Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-17 20:10:10 +01:00
SPIGOT-4304: Turtle helmet overrides water breathing potion
Dieser Commit ist enthalten in:
Ursprung
3418f8d7a1
Commit
1bc24337d1
@ -270,11 +270,10 @@
|
||||
this.a(mobeffect);
|
||||
return true;
|
||||
- } else if (mobeffect1.a(mobeffect)) {
|
||||
- this.a(mobeffect1, true);
|
||||
+ // CraftBukkit start
|
||||
+ } else if (event.isOverride()) {
|
||||
+ this.effects.put(mobeffect.getMobEffect(), mobeffect);
|
||||
+ this.a(mobeffect, true);
|
||||
+ mobeffect1.a(mobeffect);
|
||||
this.a(mobeffect1, true);
|
||||
+ // CraftBukkit end
|
||||
return true;
|
||||
} else {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren