Fixed random events occurring at kalphite queen and tormented demons
Fixed bots trying to speak unicode
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package content.region.desert.handlers
|
||||
|
||||
import core.api.*
|
||||
import core.game.world.map.zone.ZoneBorders
|
||||
import core.game.world.map.zone.ZoneRestriction
|
||||
|
||||
class KalphiteQueenArea : MapArea {
|
||||
override fun defineAreaBorders() : Array<ZoneBorders> { return arrayOf(ZoneBorders(3456, 9472, 3519, 9535, 0, true)) }
|
||||
override fun getRestrictions() : Array<ZoneRestriction> { return arrayOf(ZoneRestriction.RANDOM_EVENTS) }
|
||||
}
|
||||
@@ -6,5 +6,5 @@ import core.game.world.map.zone.ZoneRestriction
|
||||
|
||||
class TormentedDemonArea : MapArea {
|
||||
override fun defineAreaBorders() : Array<ZoneBorders> { return arrayOf (ZoneBorders.forRegion(10329)) }
|
||||
override fun getRestrictions() : Array<ZoneRestriction> { return arrayOf (ZoneRestriction.CANNON) }
|
||||
override fun getRestrictions() : Array<ZoneRestriction> { return arrayOf (ZoneRestriction.CANNON, ZoneRestriction.RANDOM_EVENTS) }
|
||||
}
|
||||
|
||||
@@ -660,7 +660,7 @@ public abstract class Entity extends Node {
|
||||
/**
|
||||
* Registers a new force chat update flag to the update masks.
|
||||
* @param string The string.
|
||||
* @return {@code True} if succesful.
|
||||
* @return {@code True} if successful.
|
||||
*/
|
||||
public boolean sendChat(String string) {
|
||||
return getUpdateMasks().register(EntityFlag.ForceChat, string);
|
||||
|
||||
Reference in New Issue
Block a user