aboutsummaryrefslogtreecommitdiff
path: root/CI
diff options
context:
space:
mode:
Diffstat (limited to 'CI')
-rw-r--r--CI/supporttest.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/CI/supporttest.js b/CI/supporttest.js
index 963a1f7..04b8b1e 100644
--- a/CI/supporttest.js
+++ b/CI/supporttest.js
@@ -188,6 +188,16 @@
}
}
}
+
+ //Test for registering an entity attack event
+ if(file.replace(/ /g, "").includes("this.registerEvent(\"attackEntity\",")){
+ errors.push([
+ "Entity attack event doesent work on chattriggers 1.3",
+ dir,
+ "To fix change it into a forge trigger",
+ "this.registerForge(net.minecraftforge.event.entity.living.LivingAttackEvent, (event)=>{})"
+ ])
+ }
}
}
}