Skip to content

Commit f5b6c35

Browse files
committed
Fix logger message for ComponentItemDataSession
1 parent ff7f9e3 commit f5b6c35

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Item Creator/src/main/java/org/broken/arrow/library/itemcreator/utility/nms/ComponentItemDataSession.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* <p>
2727
*/
2828
public class ComponentItemDataSession implements NbtEditor {
29+
private static final Logging logger = new Logging(ComponentAccess.class);
2930
private static final MethodHandles.Lookup LOOKUP = MethodHandles.lookup();
3031
// Core handles (CUSTOM_DATA path)
3132
private static final MethodHandle AS_NMS_COPY;
@@ -94,7 +95,7 @@ public class ComponentItemDataSession implements NbtEditor {
9495
}
9596

9697
} catch (Throwable t) {
97-
t.printStackTrace();
98+
logger.logError(t,()->"Could not load ComponentItemDataSession reflections");
9899
ok = false;
99100
}
100101

Item Creator/src/main/java/org/broken/arrow/library/itemcreator/utility/nms/api/CompoundEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import javax.annotation.Nonnull;
66
import javax.annotation.Nullable;
77

8-
public interface CompoundEditor {
8+
public interface CompoundEditor{
99

1010
/**
1111
* Checks if it has loaded all reflections.

0 commit comments

Comments
 (0)