Skip to content

Commit

Permalink
Fixed Server-Side Crash
Browse files Browse the repository at this point in the history
  • Loading branch information
founderio committed Feb 28, 2016
1 parent 0e80806 commit 9e48a69
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {
id "net.minecraftforge.gradle.forge" version "2.0.2"
}
*/
version = "1.0"
version = "1.0-hf1"
group= "net.teamio"
archivesBaseName = "familiars"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class EntityFamiliar extends EntityLiving {

public EntityFamiliar(World worldIn) {
super(worldIn);
inventory = new SavableInventory(getDisplayName(), SLOTCOUNT);
inventory = new SavableInventory(getDisplayName().getFormattedText(), false, SLOTCOUNT);
tasks = new FamiliarTasks();
this.height = 0.25f;
}
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/net/teamio/familiars/gui/SavableInventory.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.util.IChatComponent;

public class SavableInventory extends InventoryBasic {

public SavableInventory(IChatComponent title, int slotCount) {
super(title, slotCount);
}

public SavableInventory(String title, boolean customName, int slotCount) {
super(title, customName, slotCount);
}
Expand Down

0 comments on commit 9e48a69

Please sign in to comment.