mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Fixed loss of combat tabs after recruitment drive
This commit is contained in:
parent
876b87b72a
commit
2be5f9eac0
1 changed files with 2 additions and 0 deletions
|
|
@ -305,6 +305,8 @@ class RecruitmentDriveListeners : InteractionListener {
|
||||||
// Clear inventory whenever you leave the recruitment drive area
|
// Clear inventory whenever you leave the recruitment drive area
|
||||||
entity.inventory.clear()
|
entity.inventory.clear()
|
||||||
entity.equipment.clear()
|
entity.equipment.clear()
|
||||||
|
// Restore player normal tabs on leave
|
||||||
|
entity.interfaceManager.openDefaultTabs()
|
||||||
// Teleport you out if you log out. You should do this in one sitting.
|
// Teleport you out if you log out. You should do this in one sitting.
|
||||||
if (logout) {
|
if (logout) {
|
||||||
PacketRepository.send(MinimapState::class.java, MinimapStateContext(entity, 0))
|
PacketRepository.send(MinimapState::class.java, MinimapStateContext(entity, 0))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue