SPIGOT-447: Fix dismount causing a quick remount
Dieser Commit ist enthalten in:
Ursprung
b6e327256c
Commit
1d63ff0d9b
@ -1,5 +1,5 @@
|
||||
--- ../work/decompile-8eb82bde/net/minecraft/server/EntityPlayer.java 2015-01-09 16:51:30.962362579 +1100
|
||||
+++ src/main/java/net/minecraft/server/EntityPlayer.java 2015-01-09 16:51:30.962362579 +1100
|
||||
--- ../work/decompile-8eb82bde/net/minecraft/server/EntityPlayer.java 2015-02-20 15:35:53.244364933 +1100
|
||||
+++ src/main/java/net/minecraft/server/EntityPlayer.java 2015-02-20 15:35:53.248364925 +1100
|
||||
@@ -13,6 +13,17 @@
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
@ -289,6 +289,15 @@
|
||||
if (this.isSleeping()) {
|
||||
this.u().getTracker().sendPacketToEntity(this, new PacketPlayOutAnimation(this, 2));
|
||||
}
|
||||
@@ -457,7 +569,7 @@
|
||||
Entity entity1 = this.vehicle;
|
||||
|
||||
super.mount(entity);
|
||||
- if (entity != entity1) {
|
||||
+ if (this.vehicle != entity1) { // CraftBukkit
|
||||
this.playerConnection.sendPacket(new PacketPlayOutAttachEntity(0, this, this.vehicle));
|
||||
this.playerConnection.a(this.locX, this.locY, this.locZ, this.yaw, this.pitch);
|
||||
}
|
||||
@@ -490,19 +602,46 @@
|
||||
this.playerConnection.sendPacket(new PacketPlayOutOpenSignEditor(tileentitysign.getPosition()));
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren