WallData moved enabled check in load method.
This commit is contained in:
parent
8fb17f85a0
commit
81be59fcd2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user