WallData moved enabled check in load method.

This commit is contained in:
MobiusDev 2016-02-16 07:43:39 +00:00
parent 8fb17f85a0
commit 81be59fcd2

View File

@ -41,16 +41,16 @@ public class WallData implements IXmlReader
protected WallData()
{
if (!Config.ENABLE_WALL_DATA)
{
return;
}
load();
}
@Override
public void load()
{
if (!Config.ENABLE_WALL_DATA)
{
return;
}
_walls.clear();
parseDatapackDirectory("walls", false);
}