mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-29 15:56:50 +01:00
fix onReceiveMail notification:
https://github.com/TwistedScorpio/Nostalrius/issues/53
This commit is contained in:
@@ -32,6 +32,7 @@ class Container;
|
||||
class Depot;
|
||||
class Teleport;
|
||||
class Mailbox;
|
||||
class DepotLocker;
|
||||
class Door;
|
||||
class MagicField;
|
||||
class BedItem;
|
||||
@@ -376,6 +377,12 @@ class Item : virtual public Thing
|
||||
virtual const Mailbox* getMailbox() const {
|
||||
return nullptr;
|
||||
}
|
||||
virtual DepotLocker* getDepotLocker() {
|
||||
return nullptr;
|
||||
}
|
||||
virtual const DepotLocker* getDepotLocker() const {
|
||||
return nullptr;
|
||||
}
|
||||
virtual Door* getDoor() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user