Skip to content

Commit

Permalink
Fix some bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgazul committed Feb 16, 2025
1 parent fa23e63 commit dec7d2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
--- a/net/minecraft/world/entity/ai/attributes/AttributeMap.java
+++ b/net/minecraft/world/entity/ai/attributes/AttributeMap.java
@@ -150,4 +_,11 @@
@@ -145,9 +_,16 @@
}

}, () -> {
- f_22138_.warn("Ignoring unknown attribute '{}'", (Object)s);
+ if (false) f_22138_.warn("Ignoring unknown attribute '{}'", (Object)s);
});
}

}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/plugin/SimplePluginManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ private void fireEvent(@NotNull Event event) {
)));
}
} catch (Throwable ex) {
server.getLogger().log(Level.SEVERE,MohistMC.i18n.as( "mohist.i18n.57", event.getEventName(), registration.getPlugin().getDescription().getFullName()), ex);
server.getLogger().log(Level.SEVERE, "Could not pass event " + event.getEventName() + " to " + registration.getPlugin().getDescription().getFullName(), ex);
}
}
}
Expand Down

0 comments on commit dec7d2f

Please sign in to comment.