From 11373c865af526865a6ef7d818102589f10aecd4 Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Fri, 3 Jul 2020 21:57:30 +0200 Subject: [PATCH] Fix BlockCategoryMasks not working --- .../com/sk89q/worldedit/function/mask/BlockCategoryMask.java | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java index 5b679f748..0bd9cab3d 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java @@ -37,6 +37,7 @@ public class BlockCategoryMask extends AbstractExtentMask { super(extent); checkNotNull(category); this.category = category; + this.category.getAll(); // load category so BlockCategory#contains actually works } @Override