Some fixes ...

- Fixe some bugs in the new method for msg.
- Check if the netminecraftclass is not null before use the method.