Skip to content

Commit fca01b0

Browse files
Merge pull request #13 from zardoy/fix-crash
fix blockAtCursor infinite loop
2 parents 210af8c + 5adf8d3 commit fca01b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/plugins/entities.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ const PLAYER_WIDTH = 0.6
88
const PLAYER_EYEHEIGHT = 1.62
99
const CROUCH_EYEHEIGHT = 1.27
1010

11+
module.exports = inject
12+
1113
// export constants for reuse
1214
module.exports.PLAYER_HEIGHT = PLAYER_HEIGHT
1315
module.exports.CROUCH_HEIGHT = CROUCH_HEIGHT
1416
module.exports.PLAYER_WIDTH = PLAYER_WIDTH
1517
module.exports.PLAYER_EYEHEIGHT = PLAYER_EYEHEIGHT
1618
module.exports.CROUCH_EYEHEIGHT = CROUCH_EYEHEIGHT
1719

18-
module.exports = inject
19-
2020
const animationEvents = {
2121
0: 'entitySwingArm',
2222
1: 'entityHurt',

0 commit comments

Comments
 (0)