geforkt von Mirrors/Paper
SPIGOT-5972: PlayerPortalEvent.setTo() when returning through an End Portal Crashes Server
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
83b1ab97ca
Commit
b5dd5d4199
@ -475,7 +475,7 @@
|
||||
+ exit.setZ(k);
|
||||
+ // this.setMot(Vec3D.a);
|
||||
+ exitVelocity = Vec3D.a;
|
||||
+ } else {
|
||||
+ } else if (worldserver.getTypeKey() == DimensionManager.THE_NETHER || worldserver1.getTypeKey() == DimensionManager.THE_NETHER) {
|
||||
+ ShapeDetector.Shape portalShape = worldserver.getTravelAgent().findAndTeleport(this, exitPosition, f2, event.getSearchRadius(), true);
|
||||
+ if (portalShape == null && event.getCanCreatePortal()) {
|
||||
+ if (worldserver.getTravelAgent().createPortal(this, exitPosition, event.getCreationRadius())) { // Only check for new portal if creation succeeded
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren