From 89693697a0a2c4e442ea078dd1751eee52b783cf Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Thu, 4 Jul 2013 17:00:50 -0500 Subject: [PATCH] Fix exception when faction home set --- src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java b/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java index 6a2119a..7656c17 100644 --- a/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java +++ b/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java @@ -519,10 +519,10 @@ public class DynmapFactionsPlugin extends JavaPlugin { String lbl = factname + " [home]"; if(home == null) { home = set.createMarker(markid, lbl, homeloc.getWorld(), - homeloc.getBlockX(), homeloc.getBlockY(), homeloc.getBlockZ(), ico, false); + homeloc.getLocationX(), homeloc.getLocationY(), homeloc.getLocationZ(), ico, false); } else { - home.setLocation(homeloc.getWorld(), homeloc.getBlockX(), homeloc.getBlockY(), homeloc.getBlockZ()); + home.setLocation(homeloc.getWorld(), homeloc.getLocationX(), homeloc.getLocationY(), homeloc.getLocationZ()); home.setLabel(lbl); /* Update label */ home.setMarkerIcon(ico); }