Military Base Decor (dead)

Military Base Decor (dead)

72.8k Downloads

Server crashes when using wire cutters

Hennamann opened this issue ยท 6 comments

commented

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.

commented

Crash would be useful but your most likely right.

commented

Yup noticed that as well, changing it to Item.getitemfromblock instead, just need to work metadata into it.

commented

no, just pass in 'this'. The ItemStack constructor can take a block as a param.

commented

That's true, I'll test it and then commit the changes