Consistency to make Kilandor happy :-).

This commit is contained in:
zeeZ 2011-05-09 05:13:50 +02:00 committed by FrozenCow
parent bb45cc10cb
commit 7f5d3ab23d

View File

@ -128,7 +128,7 @@ class JsonTimerTask extends TimerTask {
lastTimestamp = System.currentTimeMillis();
//Parse regions file for non worlds style
if (null != regions)
if (regions != null)
if (!regions.getBoolean("useworldpath", false))
parseRegionFile(regions.getString("filename", "regions.yml"), regions.getString("filename", "regions.yml"));
}