added RF api and fixed de-sync issue

fixed the de-sync between server and client with the maple drop by
adding event.world.isRemote