fixed NPE in WorldProperty

probably fix: https://gist.github.com/marcin212/8e73b41a6269f0825d03
Merge pull request #2032 from marcin212/patch-1

fixed NPE in WorldProperty