Skip to content

Commit

Permalink
Only use one script file.
Browse files Browse the repository at this point in the history
  • Loading branch information
FooterManDev committed May 22, 2024
1 parent 6cc7f66 commit b97071f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions FooterMan/resources/paxel.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
StartupEvents.registry('item', event => {
event.create('cool_paxel', 'paxel')
})
onEvent('item.registry', event => {
event.create('cool_paxel', 'paxel')
})
3 changes: 0 additions & 3 deletions FooterMan/resources/paxel18.js

This file was deleted.

4 changes: 2 additions & 2 deletions FooterMan/topics/PaxelJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
**Usage**:
<tabs>
<tab title="1.19+">
<code-block lang="javascript" src="https://raw.githubusercontent.com/FooterManDev/Footers-Docs/master/FooterMan/resources/paxel.js"/>
<code-block lang="javascript" include-lines="1-3" src="https://raw.githubusercontent.com/FooterManDev/Footers-Docs/master/FooterMan/resources/paxel.js"/>
</tab>
<tab title="1.18-">
<code-block lang="javascript" src="https://raw.githubusercontent.com/FooterManDev/Footers-Docs/master/FooterMan/resources/paxel18.js"/>
<code-block lang="javascript" include-lines="4-6" src="https://raw.githubusercontent.com/FooterManDev/Footers-Docs/master/FooterMan/resources/paxel.js"/>
</tab>
</tabs>

0 comments on commit b97071f

Please sign in to comment.