2

I recently posted an answer to this question, and I used a fairly large code block. I haven't been on this stackexchange for very long so I wanted to know if someone could layout the edict surrounding using code. Furthermore the code that I posted is from a project that works to reverse engineer minecraft and provide the source code. I also wanted to know if this is looked down upon or should be avoided. If a question contains a game error is it best to just give a diagnosis? or should I try to be as precise as possible and post code snippets as well, Thanks for any help you can provide.

  • Related – MBraedley Dec 5 '15 at 3:14
  • @MBraedley I'm not sure it is, that question is talking about the use of the code snippet markdown styling. My question is about weather large blocks of real code are welcome here or not and the legitimacy of obtaining the code. – Dallen Dec 5 '15 at 4:15
7

I'm okay with small code-snippets in general (I believe it's fair-use, though IANAL), but only if it actually adds something to your answer.

In your case, I don't think it does. Knowing the NullPointerException is caused by this.b.getSession().getToken() does not help solve the problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .