()
| 349 | } |
| 350 | |
| 351 | private cgn getChatField() { |
| 352 | civ chatGUI = (civ) getMinecraftScreen(); |
| 353 | cgn chatField; |
| 354 | if (Transformer.FORGE) { |
| 355 | try { |
| 356 | chatField = (cgn) forgeChatField.get(chatGUI); |
| 357 | } catch (Exception e) { |
| 358 | throw new RuntimeException(e); |
| 359 | } |
| 360 | } else { |
| 361 | chatField = chatGUI.a; |
| 362 | } |
| 363 | return chatField; |
| 364 | } |
| 365 | |
| 366 | @Override |
| 367 | public Object getChatComponentWithPrefix(String prefix, Object originalChatComponent) { |
no test coverage detected