Skip to content

Commit

Permalink
fix entity script debug key, fixes #1749
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 28, 2018
1 parent 0f1c508 commit 2b1f38e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -72,7 +72,7 @@ public dEntity getEntityFrom(dPlayer player, dNPC npc) {

Set<StringHolder> strings = getConfigurationSection("").getKeys(false);
for (StringHolder string : strings) {
if (!string.low.equals("entity_type") && !string.low.equals("type")) {
if (!string.low.equals("entity_type") && !string.low.equals("type") && !string.low.equals("debug")) {
String value = TagManager.tag((getString(string.low, "")), new BukkitTagContext
(player, npc, false, null, shouldDebug(), new dScript(this)));
entity.adjust(new Mechanism(new Element(string.low), new Element(value)));
Expand Down

0 comments on commit 2b1f38e

Please sign in to comment.