mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-15 01:08:35 +00:00
Fix persistent brushes
This commit is contained in:
@ -38,7 +38,9 @@ public final class BrushCache {
|
||||
BrushTool cached = brushCache.get(key);
|
||||
if (cached != null) return cached;
|
||||
|
||||
StringTag json = (StringTag) item.getNbtData().getValue().get("weBrushJson");
|
||||
CompoundTag nbt = item.getNbtData();
|
||||
if (nbt == null) return null;
|
||||
StringTag json = (StringTag) nbt.getValue().get("weBrushJson");
|
||||
if (json != null) {
|
||||
try {
|
||||
if (RECURSION.get() != null) return null;
|
||||
|
Reference in New Issue
Block a user