From a458096123b83c0f1141a30764892f7f9ad7abb1 Mon Sep 17 00:00:00 2001 From: Chris Ward Date: Sun, 1 Dec 2013 14:49:14 +1100 Subject: Fix compilation --- Essentials/src/net/ess3/Teleport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/net/ess3/Teleport.java b/Essentials/src/net/ess3/Teleport.java index 3c85f2ba1..279e76aba 100644 --- a/Essentials/src/net/ess3/Teleport.java +++ b/Essentials/src/net/ess3/Teleport.java @@ -26,7 +26,7 @@ public class Teleport implements Runnable, ITeleport private int teleTimer = -1; private long started; // time this task was initiated private long tpDelay; // how long to delay the teleport - private int health; + private double health; // note that I initially stored a clone of the location for reference, but... // when comparing locations, I got incorrect mismatches (rounding errors, looked like) // so, the X/Y/Z values are stored instead and rounded off -- cgit v1.2.3