Server crashes when using wire cutters
Hennamann opened this issue ยท 6 comments
Upon using wire cutters on any type of wired fence in survival, the server crashes with a nosuchmethoderror. Probably due to a reference to non-server code.
Notably the crash does not occur in creative mode.
Block.getItem(World, int, int, int) is a client side only method
Yup noticed that as well, changing it to Item.getitemfromblock instead, just need to work metadata into it.
no, just pass in 'this'. The ItemStack constructor can take a block as a param.