13
0
geforkt von Mirrors/Paper

SPIGOT-5895: PlayerChangedWorldEvent#getFrom is incorrect

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2020-06-30 10:03:46 +10:00
Ursprung aef11bebb7
Commit 455c5d71c4

Datei anzeigen

@ -540,7 +540,7 @@
this.lastFoodSent = -1;
+
+ // CraftBukkit start
+ PlayerChangedWorldEvent changeEvent = new PlayerChangedWorldEvent(this.getBukkitEntity(), worldserver.getWorld());
+ PlayerChangedWorldEvent changeEvent = new PlayerChangedWorldEvent(this.getBukkitEntity(), worldserver1.getWorld());
+ this.world.getServer().getPluginManager().callEvent(changeEvent);
+ // CraftBukkit end
return this;