diff --git a/src/main/java/net/onelitefeather/bettergopaint/brush/PlayerBrushManager.java b/src/main/java/net/onelitefeather/bettergopaint/brush/PlayerBrushManager.java index 084795c1..f08d4e85 100644 --- a/src/main/java/net/onelitefeather/bettergopaint/brush/PlayerBrushManager.java +++ b/src/main/java/net/onelitefeather/bettergopaint/brush/PlayerBrushManager.java @@ -96,7 +96,7 @@ public class PlayerBrushManager { */ public @NotNull Optional getBrushHandler(String name) { return brushes.stream() - .filter(brush -> brush.getName().contains(name)) + .filter(brush -> name.contains(brush.getName())) .findAny(); }