From 32bbb4d81c08ba30da392426189274552eaaee8b Mon Sep 17 00:00:00 2001 From: Cekis Date: Sun, 29 Jan 2017 07:07:58 +0000 Subject: [PATCH] Fixed issue where instrument location was set, but it was not correct. --- .../game/script/systems/skills/performance/instrument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 sku.0/sys.server/compiled/game/script/systems/skills/performance/instrument.java diff --git a/sku.0/sys.server/compiled/game/script/systems/skills/performance/instrument.java b/sku.0/sys.server/compiled/game/script/systems/skills/performance/instrument.java old mode 100644 new mode 100755 index b026ce3d2..71aa0b6ed --- a/sku.0/sys.server/compiled/game/script/systems/skills/performance/instrument.java +++ b/sku.0/sys.server/compiled/game/script/systems/skills/performance/instrument.java @@ -160,7 +160,7 @@ public class instrument extends script.base_script if (utils.hasScriptVar(self, "instrument.loc")) { location where = getLocationObjVar(self, "instrument.loc"); - if (!where.equals(getLocation(self))) + if (where == null || !where.equals(getLocation(self))) { if (hasObjVar(self, "instrument.owner")) {