Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Commit

Permalink
export to core, not ES module
Browse files Browse the repository at this point in the history
  • Loading branch information
hb432 committed Jul 25, 2020
1 parent ceb4d74 commit 310b2d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const prompts = {};
const interfaces = {};
const crypto = new SecureRandom();

export const _ = {
const _ = {
array: (object, provider) => {
if (typeof object === 'number') {
const output = [];
Expand Down Expand Up @@ -642,3 +642,5 @@ core.event('org.bukkit.event.player.PlayerJoinEvent', (event) => {
core.event('org.bukkit.event.server.PluginDisableEvent', (event) => {
event.getPlugin() === core.plugin && tasks.forEach((task) => task.cancel());
});

core.export(_);
Loading

0 comments on commit 310b2d5

Please sign in to comment.