Change default priority from NORMAL to HIGHEST based on info on bukkit website
This commit is contained in:
parent
81deb4bfe9
commit
75484cf666
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ var events = events || {
|
||||||
var _on = function(eventType, handler, priority)
|
var _on = function(eventType, handler, priority)
|
||||||
{
|
{
|
||||||
if (typeof priority == "undefined"){
|
if (typeof priority == "undefined"){
|
||||||
priority = _event.EventPriority.NORMAL;
|
priority = _event.EventPriority.HIGHEST;
|
||||||
}else{
|
}else{
|
||||||
priority = _event.EventPriority[priority];
|
priority = _event.EventPriority[priority];
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue