mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 00:33:40 +01:00
Fix sand paper is sometimes stackable
This commit is contained in:
parent
21cdea67f6
commit
4a7ad75cd0
1 changed files with 1 additions and 16 deletions
|
@ -33,7 +33,7 @@ import net.minecraftforge.common.util.FakePlayer;
|
||||||
public class SandPaperItem extends Item implements IHaveCustomItemModel {
|
public class SandPaperItem extends Item implements IHaveCustomItemModel {
|
||||||
|
|
||||||
public SandPaperItem(Properties properties) {
|
public SandPaperItem(Properties properties) {
|
||||||
super(properties);
|
super(properties.maxDamage(8));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -173,21 +173,6 @@ public class SandPaperItem extends Item implements IHaveCustomItemModel {
|
||||||
return 32;
|
return 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getItemStackLimit(ItemStack stack) {
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isDamageable() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getMaxDamage(ItemStack stack) {
|
|
||||||
return 8;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getItemEnchantability() {
|
public int getItemEnchantability() {
|
||||||
return 5;
|
return 5;
|
||||||
|
|
Loading…
Reference in a new issue