Skip to content

Commit 8bb9563

Browse files
committed
Fixed minor issue...
1 parent f3c92a5 commit 8bb9563

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/mangorage/mangobotmixin/plugin/MangoBotMixinPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void load() {
2323
final var transformerHistory = mangoLoader.getTransformerHistory();
2424
if (transformerHistory != null) {
2525
final var history = transformerHistory.getHistory("org.mangorage.mangobotcore.internal.ExampleThing");
26-
if (history == null || history.size() == 1) return;
26+
if (history == null || history.size() <= 1) return;
2727

2828
final var result = history.get(1);
2929
System.out.println("Transformed class bytes:");

0 commit comments

Comments
 (0)