Fixed disabled manor system NPE.
Contributed by Sahar.
This commit is contained in:
@ -690,6 +690,11 @@ public class CastleManorManager implements IXmlReader, IStorable
|
||||
|
||||
public void resetManorData(int castleId)
|
||||
{
|
||||
if (!Config.ALLOW_MANOR)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_procure.get(castleId).clear();
|
||||
_procureNext.get(castleId).clear();
|
||||
_production.get(castleId).clear();
|
||||
|
Reference in New Issue
Block a user