Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-4494: Remove fix for SPIGOT-3864, better handled by SPIGOT-3879 fix
Dieser Commit ist enthalten in:
Ursprung
e4183e7069
Commit
f489f0f745
@ -598,7 +598,7 @@
|
|||||||
+ exitWorld.getTravelAgent().adjustExit(entityplayer, exit, velocity);
|
+ exitWorld.getTravelAgent().adjustExit(entityplayer, exit, velocity);
|
||||||
+
|
+
|
||||||
+ entityplayer.worldChangeInvuln = true; // CraftBukkit - Set teleport invulnerability only if player changing worlds
|
+ entityplayer.worldChangeInvuln = true; // CraftBukkit - Set teleport invulnerability only if player changing worlds
|
||||||
+ this.moveToWorld(entityplayer, exitWorld.dimension, true, exit, true); // SPIGOT-3864
|
+ this.moveToWorld(entityplayer, exitWorld.dimension, true, exit, false); // Vanilla doesn't check for suffocation when handling portals, so neither should we
|
||||||
+ if (entityplayer.motX != velocity.getX() || entityplayer.motY != velocity.getY() || entityplayer.motZ != velocity.getZ()) {
|
+ if (entityplayer.motX != velocity.getX() || entityplayer.motY != velocity.getY() || entityplayer.motZ != velocity.getZ()) {
|
||||||
+ entityplayer.getBukkitEntity().setVelocity(velocity);
|
+ entityplayer.getBukkitEntity().setVelocity(velocity);
|
||||||
+ }
|
+ }
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren