Added update notices for supporting Minecaft Forge 1.9. Still buggy though.

This commit is contained in:
0xSeb
2016-04-04 18:33:57 +02:00
parent 582dde9096
commit 6d30bef540
12 changed files with 29 additions and 10 deletions
@@ -37,14 +37,14 @@ public class EnchantmentManager extends ContainerManager {
@Override
protected int specificKeyToSlotIndex() {
return mapKeyToSlot(-1, 0, -1, -1, 0, -1, -1, -1, -1);
// 1.8 return mapKeyToSlot(-1, 0, 1, -1, 0, 1, -1, -1, -1);
// NEW_1_8 return mapKeyToSlot(-1, 0, 1, -1, 0, 1, -1, -1, -1);
}
@Override
protected int getInventoryStartIndex() {
return 1;
// 1.8 return 2;
// NEW_1_8 return 2;
}
@Override
@@ -55,7 +55,7 @@ public class EnchantmentManager extends ContainerManager {
@Override
protected int[] getDropSlots() {
return new int[]{0};
// 1.8 return new int[] {0, 1};
// NEW_1_8 return new int[] {0, 1};
}
@Override