fix(spawner): Fixes spawners infinitely spawning (#346)

Bumps release version
This commit is contained in:
Kamron Batman 2020-12-11 22:04:49 -08:00 • committed by GitHub
parent 5b7a4151c7
commit 3acb1414dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 45 deletions

View file

@ -53,9 +53,7 @@ namespace Server.Items
public void Unlink()
{
var se = Spawner;
if (se != null)
if (Spawner != null)
{
Spawner.Remove(this);
Spawner = null;