03.02.2015, 17:37
Quote:
@stokdam: I tried to reproduce this, but it didn't work. Everything is working correctly, I tried it with this code:
Код:
InputDialog.create(player, Gamemode.get().getEventManager()) .caption("This is the old cap.") .message("This is old text") .onClickOk((dialog, text) -> { dialog.setCaption("This is the new cap"); dialog.setMessage("This is the new text"); dialog.show(); }) .build() .show(); |