Fixed a bug that was causing players to get stuck logged in
Fixed a bug that would cause players to get stuck in a client crash loop when logging out inside of a POH Fixed a bug that let players reach objects that shouldn't be reachable General disconnection reliability improvements Adjusted the color of global chat for HD mode, the new color is #f1b04c
This commit is contained in:
@@ -259,7 +259,12 @@ class ScriptProcessor(val entity: Entity) {
|
||||
targetDestination = when (interactTarget) {
|
||||
is NPC -> DestinationFlag.ENTITY.getDestination(entity, interactTarget)
|
||||
is Scenery -> {
|
||||
val path = Pathfinder.find(entity, interactTarget).points.lastOrNull()
|
||||
val basicPath = Pathfinder.find(entity, interactTarget)
|
||||
val path = basicPath.points.lastOrNull()
|
||||
if (basicPath.isMoveNear) {
|
||||
target.location
|
||||
return
|
||||
}
|
||||
if (path == null) {
|
||||
clearScripts(entity)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user