Skip to content

Commit

Permalink
Merge pull request #7 from clienthax/master
Browse files Browse the repository at this point in the history
Set canUpdate to false for tile entities with no update method.

I have no idea who you are, what this pull request is, or what I'm doing.
Pancakes are nice
  • Loading branch information
sirolf2009 authored Mar 27, 2018
2 parents ec8a244 + 444f6dd commit 39d32dc
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 39d32dc

Please sign in to comment.