Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Fix end portals in custom ends
Dieser Commit ist enthalten in:
Ursprung
e58a088765
Commit
567e245fff
@ -371,7 +371,7 @@
|
||||
+ ResourceKey<DimensionManager> resourcekey = worldserver1.getTypeKey(); // CraftBukkit
|
||||
|
||||
- if (resourcekey == World.THE_END && worldserver.getDimensionKey() == World.OVERWORLD) {
|
||||
+ if (resourcekey == DimensionManager.THE_END && worldserver.getTypeKey() == DimensionManager.OVERWORLD) { // CraftBukkit
|
||||
+ if (resourcekey == DimensionManager.THE_END && worldserver != null && worldserver.getTypeKey() == DimensionManager.OVERWORLD) { // CraftBukkit
|
||||
+ this.worldChangeInvuln = true; // CraftBukkit - Moved down from above
|
||||
this.decouple();
|
||||
this.getWorldServer().removePlayer(this);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren