When using the command
/tellraw @a {text:"Link",color:green,clickEvent:{action:open_url,value:"google.com"}}
the game crashes. But does not crash with
/tellraw @a {text:"test",color:blue,clickEvent:{action:open_url,value:"http://google.com"}}
Attachments
Comments 18
Description: Updating screen events
java.lang.NullPointerException: Updating screen events
at bft.a(SourceFile:171)
at bgv.d(SourceFile:242)
at bft.d(SourceFile:136)
at bgv.k(SourceFile:219)
at bdp.p(SourceFile:1377)
at bdp.ah(SourceFile:791)
at bdp.f(SourceFile:745)
check this one out, tested out... and worked for me!
/tellraw @a {text:"test",color:blue,clickEvent:{action:open_url,value:"http://google.com"}}
Still not fixed completely!
Confirmed for:
1.8.3
Error message 1.8.3
[14:20:25] [Client thread/ERROR]: Can't open url for ClickEvent{action=OPEN_URL, value='google.com'}
java.net.URISyntaxException: Missing protocol: google.com
at axv.a(SourceFile:294) [1.8.3.jar:?]
at aww.a(SourceFile:127) [1.8.3.jar:?]
at axv.k(SourceFile:413) [1.8.3.jar:?]
at aww.k(SourceFile:105) [1.8.3.jar:?]
at axv.p(SourceFile:390) [1.8.3.jar:?]
at avf.s(SourceFile:1497) [1.8.3.jar:?]
at avf.av(SourceFile:888) [1.8.3.jar:?]
at avf.a(SourceFile:325) [1.8.3.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:124) [1.8.3.jar:?]
java.net.URISyntaxException: Missing protocol: google.com
This is not a crash. The URL handler simply doesn't know to handle that URL without a scheme.
Yes.In a browser's adressbar.But if you treat chat chat line this way.That would be interpreted as following:
Yes.In a browser's adressbar.But if you treat chat chat line this way.That would be interpreted as following:
Confirmed:
Steps to reproduce:
Enter
Click Link