Skip to content

Commit

Permalink
I genuily don't know what I'm dioing wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
stpv221 authored Jun 5, 2024
1 parent 06ba760 commit 60ecaff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/minecraft/item/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ public String apply(ItemStack itemstack) {
registerItem(436, (String) "ruby",
(new Item()).setUnlocalizedName("ruby").setCreativeTab(CreativeTabs.tabMaterials));
registerItem(437, (String) "magic_book", (new ItemMagicBook()).setUnlocalizedName("magicBook"));
registerItem(438, (String) "thunder_staff", (new ItemThunderStaff()).setUnlocalizedName("staffThunder"));
registerItem(439, (String) "thunder_staff", (new ItemThunderStaff()).setUnlocalizedName("staffThunder"));
registerItem(2256, (String) "record_13", (new ItemRecord("13")).setUnlocalizedName("record"));
registerItem(2257, (String) "record_cat", (new ItemRecord("cat")).setUnlocalizedName("record"));
registerItem(2258, (String) "record_blocks", (new ItemRecord("blocks")).setUnlocalizedName("record"));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/minecraft/item/ItemThunderStaff
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import net.minecraft.world.World;
*/
public class ItemThunderStaff extends Item {
public ItemThunderStaff() {
this.maxStackSize = 16;
this.maxStackSize(1);
this.setCreativeTab(CreativeTabs.tabMisc);
}

Expand Down

0 comments on commit 60ecaff

Please sign in to comment.