Use world.isRemote

Signed-off-by: netchip <w00tc0d3@outlook.com>