Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -375,9 +375,7 @@ namespace Server.Engines.Craft
|
|||
|
||||
public abstract class TrapCraft : CustomCraft
|
||||
{
|
||||
private LockableContainer m_Container;
|
||||
|
||||
public LockableContainer Container => m_Container;
|
||||
public LockableContainer Container { get; private set; }
|
||||
|
||||
public abstract TrapType TrapType{ get; }
|
||||
|
||||
|
|
@ -414,7 +412,7 @@ namespace Server.Engines.Craft
|
|||
return false;
|
||||
}
|
||||
|
||||
m_Container = container;
|
||||
Container = container;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue