diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-25 02:36:49 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-25 02:36:49 +0800 |
commit | 94e8b483dd90db6b5695da482692c0a4e968db69 (patch) | |
tree | 6459e6520496b11e2616dd564f2911549fd0f45d /CI | |
parent | 60ef5dc3f0cddd896bb719ace502c777288a4ffb (diff) | |
download | SoopyV2-94e8b483dd90db6b5695da482692c0a4e968db69.tar.gz SoopyV2-94e8b483dd90db6b5695da482692c0a4e968db69.tar.bz2 SoopyV2-94e8b483dd90db6b5695da482692c0a4e968db69.zip |
add CI warning for entity attack event
Diffstat (limited to 'CI')
-rw-r--r-- | CI/supporttest.js | 10 |
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)=>{})" + ]) + } } } } |