Skip to content

Commit

Permalink
alr acctuallly make thunder staff finnaly
Browse files Browse the repository at this point in the history
stpv221 authored Jun 6, 2024
1 parent 898924b commit ee8abc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/minecraft/item/ItemThunderStaff.java
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityIceball;
import net.minecraft.entity.effect.EntityThunderBolt;
import net.minecraft.stats.StatList;
import net.minecraft.world.World;

@@ -38,7 +38,7 @@ public ItemThunderStaff() {
*/
public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer) {
if (!world.isRemote) {
world.spawnEntityInWorld(new EntityIceBall(world, entityplayer));
world.spawnEntityInWorld(new EntityThunderBolt(world, entityplayer));
}

entityplayer.triggerAchievement(StatList.objectUseStats[Item.getIdFromItem(this)]);

0 comments on commit ee8abc0

Please sign in to comment.