Update ItemData.java (#399)

Should fix the bank note bug hopefully
This commit is contained in:
Mr Extremez
2020-03-18 09:02:02 -05:00
committed by GitHub
parent a9afe18014
commit 774d05f1e3
@@ -225,12 +225,7 @@ public class ItemData {
try {
FileInputStream dataIn = new FileInputStream(new File("./data/data/notes.dat"));
while ((c = dataIn.read()) != -1) {
if (c == 0) {
itemIsNote[counter] = false;
itemIsNote[4611] = false;
} else {
itemIsNote[counter] = true;
}
itemIsNote[counter] = c == 0;
counter++;
}
dataIn.close();