how to edit sign ?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

cvcv789789

New Member
Aug 15, 2018
7
0
0
24
@EventHandler
public void play(PlayerInteractEvent e){
玩家p = e.getPlayer();
if(e.getAction()== Action.LEFT_CLICK_BLOCK){
if(e.getClickedBlock()。getState()instanceof Sign){
Sign s =(Sign)e.getClickedBlock()。getState();
p.sendMessage(“一二三”);
s.setLine(0,“hellow”);
}
}
}

它不能工作
 
请用编码的tag。因为你的编码很难看,所以咱们不行帮手你。谢谢。