fixed nbt crucible item adding bug
This commit is contained in:
@@ -22,7 +22,7 @@ public class ModInfo {
|
||||
//public static final String MOD_PREFIX = MOD_ID + ":";
|
||||
public static final String MOD_CHANNEL = MOD_ID;
|
||||
|
||||
public static final String MOD_VERSION = "1.6.31";
|
||||
public static final String MOD_VERSION = "1.6.32";
|
||||
public static final String MC_VERSIONS = "[1.12.0, 1.13.0)";
|
||||
public static final String DEPENDENCIES = "required-after:forge@[14.21.1.2400,);" + "required-after:primal@[0.6.69,);";
|
||||
|
||||
|
||||
@@ -65,9 +65,6 @@ public class NBTCrucible extends BlockContainer implements ITileEntityProvider {
|
||||
|
||||
if(hand.equals(MAIN_HAND)) {
|
||||
|
||||
System.out.println(player.inventory.getCurrentItem());
|
||||
System.out.println(hand);
|
||||
|
||||
ItemStack pItem = player.inventory.getCurrentItem().copy();
|
||||
pItem.setCount(1);
|
||||
|
||||
@@ -87,7 +84,7 @@ public class NBTCrucible extends BlockContainer implements ITileEntityProvider {
|
||||
}
|
||||
|
||||
/**SET INGREDIENT ARRAY FOR THE CRUCIBLE NOW**/
|
||||
if( player.inventory.getSlotFor(player.inventory.getCurrentItem()) != -1 ) {
|
||||
if(hand.equals(MAIN_HAND)) {
|
||||
ItemStack pItem = player.inventory.getCurrentItem().copy();
|
||||
pItem.setCount(1);
|
||||
if (!player.isSneaking()) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"modid": "forgecraft",
|
||||
"name": "Kitsu's Forgecraft",
|
||||
"description": "Forged with sweat and blood",
|
||||
"version": "1.6.31",
|
||||
"version": "1.6.32",
|
||||
"mcversion": "1.12.2",
|
||||
"url": "",
|
||||
"updateUrl": "",
|
||||
|
||||
Reference in New Issue
Block a user