mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
parent
adad967c02
commit
0b1cb80931
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class TileEntityItemRepairer extends TileEntityInventoryBase{
|
||||||
if(StackUtil.isValid(stack)){
|
if(StackUtil.isValid(stack)){
|
||||||
Item item = stack.getItem();
|
Item item = stack.getItem();
|
||||||
if(item != null){
|
if(item != null){
|
||||||
if(item.isRepairable()){
|
if(item.isRepairable() && item.getMaxDamage(stack) > 0){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
Loading…
Reference in a new issue