()
| 337 | } |
| 338 | |
| 339 | private bfo getChatField() { |
| 340 | bgp chatGUI = (bgp) getMinecraftScreen(); |
| 341 | bfo chatField; |
| 342 | if (Transformer.FORGE) { |
| 343 | try { |
| 344 | chatField = (bfo) forgeChatField.get(chatGUI); |
| 345 | } catch (Exception e) { |
| 346 | throw new RuntimeException(e); |
| 347 | } |
| 348 | } else { |
| 349 | chatField = chatGUI.a; |
| 350 | } |
| 351 | return chatField; |
| 352 | } |
| 353 | |
| 354 | @Override |
| 355 | public Object getChatComponentWithPrefix(String prefix, Object originalChatComponent) { |
no test coverage detected