Code: Sign pSign = ((Sign)(pMine.m_SignLocation.getBlock().getState())); pSign.setLine(0, pMine.m_Name); pSign.update(true); But the sign doesen't update. What am I doing wrong? Edit: Strange: Sometimes it updates perfectly, and sometimes not.
Sign updating can be iffy. I do it in a delayed event, makes it work almost perfectly. You'll of course need to change this for your needs. Code: final Sign pSign = ((Sign)(pMine.m_SignLocation.getBlock().getState())); pSign.setLine(0, pMine.m_Name); server.getScheduler().scheduleSyncDelayedTask(this, new Runnable() { public void run() { pSign.update(); } });