Skip to content

Commit

Permalink
Set non updatable for entities with no update method
Browse files Browse the repository at this point in the history
  • Loading branch information
clienthax committed Feb 11, 2014
1 parent 7cfa511 commit b93edea
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Expand Up @@ -126,4 +126,10 @@ public void openInventory ()
// TODO Auto-generated method stub

}

@Override
public boolean canUpdate()
{
return false;
}
}
6 changes: 6 additions & 0 deletions src/main/java/tconstruct/blocks/logic/PartBuilderLogic.java
Expand Up @@ -199,4 +199,10 @@ public void openInventory ()
public void closeInventory ()
{
}

@Override
public boolean canUpdate()
{
return false;
}
}

0 comments on commit b93edea

Please sign in to comment.