mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +01:00
well this should fix the nullpointer bug but can't test bc java crashed
This commit is contained in:
parent
4173cf7a56
commit
57a19801a1
@ -101,7 +101,7 @@ public class UiLoggerController implements Initializable {
|
|||||||
packet.headerId()
|
packet.headerId()
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!(viewMessageName && !viewMessageHash && message.getName() == null)) {
|
if ( message != null && !(viewMessageName && !viewMessageHash && message.getName() == null)) {
|
||||||
if (viewMessageName && message.getName() != null) {
|
if (viewMessageName && message.getName() != null) {
|
||||||
elements.add(new Element("["+message.getName()+"]", "messageinfo"));
|
elements.add(new Element("["+message.getName()+"]", "messageinfo"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user