level up fix

This commit is contained in:
smsteel
2019-02-09 20:15:43 +03:00
parent bdc2663018
commit 919257e2f0
4 changed files with 191 additions and 87 deletions

View File

@ -1,6 +1,8 @@
export const TYPE_JOIN = 'join'
export const TYPE_QUIT = 'quit'
export const TYPE_DEATH = 'death'
export const EVENT_TYPE_JOIN = 'join'
export const EVENT_TYPE_QUIT = 'quit'
export const EVENT_TYPE_DEATH = 'death'
export const EVENT_TYPE_PLAYER_LEVEL_CHANGE = 'playerLevelChange'
export const EVENT_TYPE_PLAYER_KILLED_ENTITY = 'playerKilledEntity'
/**
* Damage caused when an entity contacts a block such as a Cactus.