Skip to content

Commit

Permalink
Set canUpdate to false for tile 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 ec8a244 commit 444f6dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,10 @@ public boolean isInvNameLocalized() {
public boolean isItemValidForSlot(int i, ItemStack itemstack) {
return false;
}

@Override
public boolean canUpdate()
{
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,10 @@ public boolean isInvNameLocalized() {
public boolean isItemValidForSlot(int i, ItemStack itemstack) {
return false;
}

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

0 comments on commit 444f6dd

Please sign in to comment.