Skip to content

Commit

Permalink
(mc1.20+) fixed exception raised in option f3IUseRelatedCoordinate
Browse files Browse the repository at this point in the history
…that prevent the player from performing the copy-entity action
  • Loading branch information
Fallen-Breath committed Mar 6, 2024
1 parent 431b6c7 commit e1fb7ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private void f3IUseRelatedCoordinate_rebuildSummonCommand(Args args)
}

String deltaY = TweakerMoreConfigs.F3_I_USE_RELATED_COORDINATE_SHIFT_1.getBooleanValue() ? "~1" : "~";
String id = (String)arr[0];
String id = arr[0].toString(); // it might be an Identifier, or a String. Whatever, toString() it
String command;
if (arr.length == 5) // "/summon %s %.2f %.2f %.2f %s"
{
Expand Down

0 comments on commit e1fb7ec

Please sign in to comment.