File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_6to1_21_5/data Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public static Button openUrl(final Tag label, final String url) {
136136 }
137137
138138 final CompoundTag tag = new CompoundTag ();
139- tag .putString ("type " , "run_command" );
139+ tag .putString ("action " , "run_command" );
140140 tag .putString ("command" , template .instantiate (substitutions ));
141141 return tag ;
142142 }
@@ -148,7 +148,7 @@ public static Button openUrl(final Tag label, final String url) {
148148 }
149149
150150 final CompoundTag tag = new CompoundTag ();
151- tag .putString ("type " , "custom" );
151+ tag .putString ("action " , "custom" );
152152 tag .putString ("id" , id );
153153 tag .put ("payload" , additions );
154154 return tag ;
You can’t perform that action at this time.
0 commit comments