Fixed use() in object scripts. It should work now

This commit is contained in:
Treeku
2013-12-05 04:17:06 +00:00
parent ca807ae5ae
commit 82e513363e
6 changed files with 41 additions and 32 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ public class SkillService implements INetworkDispatch {
PlayerObject player = (PlayerObject) creature.getSlottedObject("ghost");
DatatableVisitor skillTable;
if (creature.getClient() == null) {
if (player == null) {
return;
}