Fix NPE because of widget position being set on server

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>
Fixed Window inventory canSet logic, improved debug messages

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>
move ToolLevel and ToolType to API

Signed-off-by: Nick Minkler <sleaker@gmail.com>
Fix sync on block/place block
@Rapfrk thanks