Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-5895: PlayerChangedWorldEvent#getFrom is incorrect
Dieser Commit ist enthalten in:
Ursprung
89c0a5c34d
Commit
a0c35937f9
@ -540,7 +540,7 @@
|
|||||||
this.lastFoodSent = -1;
|
this.lastFoodSent = -1;
|
||||||
+
|
+
|
||||||
+ // CraftBukkit start
|
+ // CraftBukkit start
|
||||||
+ PlayerChangedWorldEvent changeEvent = new PlayerChangedWorldEvent(this.getBukkitEntity(), worldserver.getWorld());
|
+ PlayerChangedWorldEvent changeEvent = new PlayerChangedWorldEvent(this.getBukkitEntity(), worldserver1.getWorld());
|
||||||
+ this.world.getServer().getPluginManager().callEvent(changeEvent);
|
+ this.world.getServer().getPluginManager().callEvent(changeEvent);
|
||||||
+ // CraftBukkit end
|
+ // CraftBukkit end
|
||||||
return this;
|
return this;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren