diff --git a/EXILED/Exiled.API/Features/Toys/AdminToy.cs b/EXILED/Exiled.API/Features/Toys/AdminToy.cs index 01f54e8d26..a3ffa539cd 100644 --- a/EXILED/Exiled.API/Features/Toys/AdminToy.cs +++ b/EXILED/Exiled.API/Features/Toys/AdminToy.cs @@ -115,6 +115,16 @@ public Vector3 Scale } } + /// + /// Gets the of the toy. + /// + public GameObject GameObject => AdminToyBase.gameObject; + + /// + /// Gets the of the toy. + /// + public Transform Transform => AdminToyBase.transform; + /// /// Gets or sets the movement smoothing value of the toy. /// diff --git a/EXILED/Exiled.API/Features/Toys/ShootingTargetToy.cs b/EXILED/Exiled.API/Features/Toys/ShootingTargetToy.cs index a9051baed8..86246ffd28 100644 --- a/EXILED/Exiled.API/Features/Toys/ShootingTargetToy.cs +++ b/EXILED/Exiled.API/Features/Toys/ShootingTargetToy.cs @@ -66,10 +66,8 @@ internal ShootingTargetToy(ShootingTarget target) /// public ShootingTarget Base { get; } - /// - /// Gets the of the target. - /// - public GameObject GameObject => Base.gameObject; + /// + public new GameObject GameObject => base.GameObject; /// /// Gets the of the bullseye.