Revert "change to require('./index.js') as per https://github.com/HabitRPG/habitrpg-shared/commit/002d4f9541ca531955be611f7c0fc2ba813f18ea"
This reverts commit 6ca82b2443.
This commit is contained in:
+3
-2
@@ -1,9 +1,10 @@
|
||||
moment = require('moment')
|
||||
_ = require('lodash')
|
||||
{helpers, items} = require('./index.js')
|
||||
helpers = require('./helpers.coffee')
|
||||
items = require('./items.coffee')
|
||||
{pets, hatchingPotions} = items.items
|
||||
|
||||
# Very strange bug where `require(./helpers.coffee)` is returning a blank object under certain circumsntances I haven't yet figured out
|
||||
# Very strange bug where `require(./script/helpers.coffee)` is returning a blank object under certain circumsntances I haven't yet figured out
|
||||
helpers = require('habitrpg-shared/script/helpers') if _.isEmpty(helpers)
|
||||
|
||||
XP = 15
|
||||
|
||||
Reference in New Issue
Block a user