version bump and breeder fix on NTM-main

This commit is contained in:
Boblet 2022-02-02 10:04:32 +01:00
parent b8ea92eb2a
commit 94cbdd2555
3 changed files with 28 additions and 25 deletions

View File

@ -38,22 +38,25 @@ public class ContainerMachineReactorBreeding extends Container {
ItemStack var3 = null;
Slot slot = (Slot) this.inventorySlots.get(index);
if (slot != null && slot.getHasStack()) {
if(slot != null && slot.getHasStack()) {
ItemStack stack = slot.getStack();
var3 = stack.copy();
if (index <= 2) {
if (!this.mergeItemStack(stack, 2, this.inventorySlots.size(), true)) {
if(index <= 2) {
if(!this.mergeItemStack(stack, 2, this.inventorySlots.size(), true)) {
return null;
}
} else if(stack.getItem() instanceof ItemBreedingRod)
if (!this.mergeItemStack(stack, 0, 1, false)) {
} else if(stack.getItem() instanceof ItemBreedingRod) {
if(!this.mergeItemStack(stack, 0, 1, false)) {
return null;
}
} else {
return null;
}
if (stack.stackSize == 0) {
if(stack.stackSize == 0) {
slot.putStack((ItemStack) null);
} else {

View File

@ -3,7 +3,7 @@ package com.hbm.lib;
public class RefStrings {
public static final String MODID = "hbm";
public static final String NAME = "Hbm's Nuclear Tech Mod";
public static final String VERSION = "1.0.27 BETA (4130)";
public static final String VERSION = "1.0.27 BETA (4130H1)";
//HBM's Beta Naming Convention:
//V T (X)
//V -> next release version

View File

@ -3,7 +3,7 @@
"modid": "hbm",
"name": "Hbm's Nuclear Tech",
"description": "A mod that adds weapons, nuclear themed stuff and machines",
"version":"1.0.27_X4130",
"version":"1.0.27_X4130H1",
"mcversion": "1.7.10",
"url": "",
"updateUrl": "",