Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -22,8 +22,8 @@ namespace Server.Engines.Plants
|
|||
if (!m_Plant.Deleted && m_Plant.PlantStatus < PlantStatus.DecorativePlant &&
|
||||
from.InRange(m_Plant.GetWorldLocation(), 3) && m_Plant.IsUsableBy(from))
|
||||
{
|
||||
if (from.HasGump(typeof(MainPlantGump)))
|
||||
from.CloseGump(typeof(MainPlantGump));
|
||||
if (from.HasGump<MainPlantGump>())
|
||||
from.CloseGump<MainPlantGump>();
|
||||
|
||||
from.SendGump(new MainPlantGump(m_Plant));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue