mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
fixed boss crash
This commit is contained in:
parent
1303af5a13
commit
fa284fe558
1 changed files with 3 additions and 3 deletions
|
@ -1038,7 +1038,7 @@ class DistributedBossCog(DistributedAvatar.DistributedAvatar, BossCog.BossCog):
|
||||||
return
|
return
|
||||||
if not self.allowClickedNameTag:
|
if not self.allowClickedNameTag:
|
||||||
return
|
return
|
||||||
FriendsListManager.FriendsListManager._FriendsListManager__handleClickedNametag(avatar)
|
FriendsListManager.FriendsListManager._FriendsListManager__handleClickedNametag(FriendsListManager.FriendsListManager, avatar)
|
||||||
|
|
||||||
def __handleFriendAvatar(self, avId, avName, avDisableName):
|
def __handleFriendAvatar(self, avId, avName, avDisableName):
|
||||||
self.notify.debug('__handleFriendAvatar')
|
self.notify.debug('__handleFriendAvatar')
|
||||||
|
@ -1049,7 +1049,7 @@ class DistributedBossCog(DistributedAvatar.DistributedAvatar, BossCog.BossCog):
|
||||||
if self.cr:
|
if self.cr:
|
||||||
place = self.cr.playGame.getPlace()
|
place = self.cr.playGame.getPlace()
|
||||||
if place and hasattr(place, 'fsm'):
|
if place and hasattr(place, 'fsm'):
|
||||||
FriendsListManager.FriendsListManager._FriendsListManager__handleFriendAvatar(place, avId, avName, avDisableName)
|
FriendsListManager.FriendsListManager._FriendsListManager__handleFriendAvatar(FriendsListManager.FriendsListManager, place, avId, avName, avDisableName)
|
||||||
|
|
||||||
def __handleAvatarDetails(self, avId, avName):
|
def __handleAvatarDetails(self, avId, avName):
|
||||||
self.notify.debug('__handleAvatarDetails')
|
self.notify.debug('__handleAvatarDetails')
|
||||||
|
@ -1060,7 +1060,7 @@ class DistributedBossCog(DistributedAvatar.DistributedAvatar, BossCog.BossCog):
|
||||||
if self.cr:
|
if self.cr:
|
||||||
place = self.cr.playGame.getPlace()
|
place = self.cr.playGame.getPlace()
|
||||||
if place and hasattr(place, 'fsm'):
|
if place and hasattr(place, 'fsm'):
|
||||||
FriendsListManager.FriendsListManager._FriendsListManager__handleAvatarDetails(place, avId, avName)
|
FriendsListManager.FriendsListManager._FriendsListManager__handleAvatarDetails(FriendsListManager.FriendsListManager, place, avId, avName)
|
||||||
|
|
||||||
def enterBattleFour(self):
|
def enterBattleFour(self):
|
||||||
self.cleanupIntervals()
|
self.cleanupIntervals()
|
||||||
|
|
Loading…
Reference in a new issue