mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 05:15:11 +00:00
Fixed some scripted item events, and fixed positioning of scripted items.
This commit is contained in:
1 parent
747730face
commit
11cc46b48f
20 files changed
+231
-146
No files matched your search
@@ -138,7 +138,7 @@ public class PlayerDataScript implements IScriptHandler {
|
||||
}
|
||||
public IPlayer getPlayer() {
|
||||
if (this.playerAPI == null) {
|
||||
this.playerAPI = (IPlayer) NpcAPI.Instance().getIEntity(this.player);
|
||||
this.playerAPI = (IPlayer) ScriptController.Instance.getScriptForEntity(this.player);
|
||||
}
|
||||
return this.playerAPI;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user