Consistency to make Kilandor happy :-).

This commit is contained in:
zeeZ 2011-05-09 05:13:50 +02:00 committed by FrozenCow
parent dfb66d9415
commit 8aa96b5c73

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"));
}