Update CoreRoutedPipe.java

add checks on null, otherwise you get simply a closing program if you call for example

```
itemId = nil
pipe.getUnlocalizedName(itemId)
```
Merge pull request #127 from Flow86/patch-1

NPE: add null checks