SHOW:
|
|
- or go back to the newest paste.
| 1 | private int BarsMade; | |
| 2 | ||
| 3 | ||
| 4 | //onstart shit here --> | |
| 5 | - | FishCaught=0; |
| 5 | + | BarsMade=0; |
| 6 | ||
| 7 | ||
| 8 | public void onMessage(Message message) throws java.lang.InterruptedException{
| |
| 9 | String OreTxt = message.getMessage().toLowerCase(); | |
| 10 | ||
| 11 | if(OreTxt.contains("a bar of steel")&&(getInventory().contains("Steel bar"))) {
| |
| 12 | ||
| 13 | BarsMade++; | |
| 14 | } } | |
| 15 | ||
| 16 | ||
| 17 | //onpaint shit here | |
| 18 | g.drawString(""+BarsMade, 370, 428); |