geforkt von Mirrors/Paper
SPIGOT-7955: Failure teleporting players between worlds using Player#teleport() when player has attribute modifiers
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
a768ea0ddf
Commit
ac56ea8d83
@ -999,6 +999,15 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -1677,7 +2081,7 @@
|
||||
this.onUpdateAbilities();
|
||||
if (flag) {
|
||||
this.getAttributes().assignBaseValues(entityplayer.getAttributes());
|
||||
- this.getAttributes().assignPermanentModifiers(entityplayer.getAttributes());
|
||||
+ // this.getAttributes().assignPermanentModifiers(entityplayer.getAttributes()); // CraftBukkit
|
||||
this.setHealth(entityplayer.getHealth());
|
||||
this.foodData = entityplayer.foodData;
|
||||
Iterator iterator = entityplayer.getActiveEffects().iterator();
|
||||
@@ -1685,7 +2089,7 @@
|
||||
while (iterator.hasNext()) {
|
||||
MobEffect mobeffect = (MobEffect) iterator.next();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren