From a2be60fed3ee6297538abf70af29a73598ad22b7 Mon Sep 17 00:00:00 2001 From: NetDwarf Date: Wed, 12 Jun 2024 23:44:24 +0200 Subject: [PATCH] Fix server crash on Djinn Port --- GameServer/serverrules/AbstractServerRules.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GameServer/serverrules/AbstractServerRules.cs b/GameServer/serverrules/AbstractServerRules.cs index b946b58dda..882d040349 100644 --- a/GameServer/serverrules/AbstractServerRules.cs +++ b/GameServer/serverrules/AbstractServerRules.cs @@ -243,13 +243,13 @@ public virtual void OnReleased(DOLEvent e, object sender, EventArgs args) public virtual void OnPlayerTeleport(GamePlayer player, Teleport destination) { - OnPlayerTeleport(player, destination); + // override this in order to do something, like set immunity, when a player teleports } [Obsolete("Use .OnPlayerTeleport(GamePlayer,Teleport) instead!")] public virtual void OnPlayerTeleport(GamePlayer player, GameLocation source, Teleport destination) { - // override this in order to do something, like set immunity, when a player teleports + OnPlayerTeleport(player, destination); } ///