mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
fixes the crash for realsies
This commit is contained in:
@@ -67,7 +67,7 @@ namespace Robust.Server.GameObjects
|
||||
{
|
||||
var entity = base.CreateEntity(prototypeName, uid);
|
||||
|
||||
if (prototypeName != null)
|
||||
if (!string.IsNullOrWhiteSpace(prototypeName))
|
||||
{
|
||||
var prototype = PrototypeManager.Index<EntityPrototype>(prototypeName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user