Fix BlockCategoryMasks not working

This commit is contained in:
Hannes Greule 2020-07-03 21:57:30 +02:00
parent 9da4bbef5f
commit 11373c865a

View File

@ -37,6 +37,7 @@ public class BlockCategoryMask extends AbstractExtentMask {
super(extent); super(extent);
checkNotNull(category); checkNotNull(category);
this.category = category; this.category = category;
this.category.getAll(); // load category so BlockCategory#contains actually works
} }
@Override @Override