Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
SPIGOT-6011: End Gateways do not work on Non-Main End Worlds
Dieser Commit ist enthalten in:
Ursprung
d492e363b8
Commit
7c03d257dd
@ -13,6 +13,15 @@
|
|||||||
|
|
||||||
public class TileEntityEndGateway extends TileEntityEnderPortal implements ITickable {
|
public class TileEntityEndGateway extends TileEntityEnderPortal implements ITickable {
|
||||||
|
|
||||||
|
@@ -113,7 +119,7 @@
|
||||||
|
public void a(Entity entity) {
|
||||||
|
if (this.world instanceof WorldServer && !this.f()) {
|
||||||
|
this.c = 100;
|
||||||
|
- if (this.exitPortal == null && this.world.getDimensionKey() == World.THE_END) {
|
||||||
|
+ if (this.exitPortal == null && this.world.getTypeKey() == DimensionManager.THE_END) { // CraftBukkit - work in alternate worlds
|
||||||
|
this.a((WorldServer) this.world);
|
||||||
|
}
|
||||||
|
|
||||||
@@ -138,6 +144,26 @@
|
@@ -138,6 +144,26 @@
|
||||||
entity1 = entity.getRootVehicle();
|
entity1 = entity.getRootVehicle();
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren