mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-16 08:55:18 +00:00
null?
This commit is contained in:
parent
3affce9b26
commit
7189ff71b5
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class Terminal(tdef: TerminalDefinition) extends Amenity with Hackable {
|
|||
* @return an actionable message that explains what resulted from interacting with this `Terminal`
|
||||
*/
|
||||
def Request(player: Player, msg: Any): Terminal.Exchange = {
|
||||
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || Owner == 0) {
|
||||
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || Owner == null) {
|
||||
tdef.Request(player, msg)
|
||||
} else {
|
||||
Terminal.NoDeal()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue