mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-15 16:04:51 +00:00
Revert "Made player script implementation closer to that of 1.12."
This reverts commit 3a9789b3fd.
This commit is contained in:
1 parent
3a9789b3fd
commit
6bdc68337c
12 files changed
+120
-90
No files matched your search
@@ -20,7 +20,6 @@ import noppes.npcs.CustomNpcs;
|
||||
import noppes.npcs.NBTTags;
|
||||
import noppes.npcs.NoppesUtilServer;
|
||||
import noppes.npcs.constants.EnumScriptType;
|
||||
import noppes.npcs.scripted.NpcAPI;
|
||||
import scala.Char;
|
||||
|
||||
public class ScriptContainer {
|
||||
@@ -143,8 +142,6 @@ public class ScriptContainer {
|
||||
this.engine.getContext().setWriter(pw);
|
||||
this.engine.getContext().setErrorWriter(pw);
|
||||
|
||||
this.engine.put("API", NpcAPI.Instance());
|
||||
|
||||
try {
|
||||
if (!this.init) {
|
||||
this.engine.eval(this.getFullCode());
|
||||
|
||||
Reference in new issue
Block a user