Skip to content

Commit

Permalink
fix: uncap length of particleeffect
Browse files Browse the repository at this point in the history
  • Loading branch information
CallMeEchoCodes committed Nov 15, 2024
1 parent dabb160 commit 8edec98
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ protected void init() {
Text.empty()
);

particleId.setMaxLength(9999);

String optionsString = effectToTag(blockEntity.particle, lookup.getOps(NbtOps.INSTANCE)).asString();
if (optionsString.startsWith("{}")) optionsString = "";

Expand Down

0 comments on commit 8edec98

Please sign in to comment.