Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
tab_width = 2
ij_any_keep_indents_on_empty_lines = true

[*.java]
indent_size = 4
tab_width = 4
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ public enum DraggedAcceptorResult {
*/
PASS,
;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private static void writeResourceLocation(FriendlyByteBuf buf, ResourceLocation

public static void init() {
EnvExecutor.runInEnv(Env.CLIENT, () -> Client::init);

// Fix for TagNodes not being loaded on the server
// A bit hacky as it uses Architectury's internal API, but this class needs rewriting to use codecs due to the deprecation of the old serialization system anyway.
if(Platform.getEnvironment() != Env.CLIENT) {
Expand Down