Archiviert
13
0

Fix BUKKIT-2419: PlayerAbilities not being updated on teleport/respawn

Minecraft resets abilities based on what it knows client side, when someone dies and is in "survival," by default they should be in "survival." However, we allow modification of the PlayerAbilities, so we send this update out to the client.

Oh and, the format of the commit is like this to see if it looks any good. :)
Dieser Commit ist enthalten in:
feildmaster 2012-08-27 11:46:20 -05:00
Ursprung 3307d489da
Commit c710ca827f

Datei anzeigen

@ -395,6 +395,7 @@ public abstract class ServerConfigurationManagerAbstract {
this.players.add(entityplayer1);
// CraftBukkit start - added from changeDimension
this.updateClient(entityplayer1); // CraftBukkit
entityplayer1.updateAbilities();
Iterator iterator = entityplayer1.getEffects().iterator();
while (iterator.hasNext()) {