2013-04-10 06:08:33 +02:00
|
|
|
From 61037af4ec77e980df5cd7eba2e3af253da713bf Mon Sep 17 00:00:00 2001
|
2013-04-05 19:24:55 +02:00
|
|
|
From: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
|
|
|
|
Date: Fri, 5 Apr 2013 18:13:35 +0100
|
|
|
|
Subject: [PATCH] Boat dupe fix.
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntityBoat.java b/src/main/java/net/minecraft/server/EntityBoat.java
|
|
|
|
index 8839a45..953e86c 100644
|
|
|
|
--- a/src/main/java/net/minecraft/server/EntityBoat.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityBoat.java
|
|
|
|
@@ -294,7 +294,7 @@ public class EntityBoat extends Entity {
|
|
|
|
|
|
|
|
this.move(this.motX, this.motY, this.motZ);
|
|
|
|
if (this.positionChanged && d3 > 0.2D) {
|
|
|
|
- if (!this.world.isStatic) {
|
|
|
|
+ if (!this.world.isStatic && !this.dead) { // Spigot - Boat dupe fix
|
|
|
|
// CraftBukkit start
|
|
|
|
Vehicle vehicle = (Vehicle) this.getBukkitEntity();
|
|
|
|
VehicleDestroyEvent destroyEvent = new VehicleDestroyEvent(vehicle, null);
|
|
|
|
--
|
2013-04-10 06:06:41 +02:00
|
|
|
1.8.2.1
|
2013-04-05 19:24:55 +02:00
|
|
|
|