Skip to content

Commit

Permalink
Merge pull request #5 from boterop/v0.1
Browse files Browse the repository at this point in the history
Release for V0.1.1
  • Loading branch information
boterop authored Jan 29, 2023
2 parents 703889d + 75f3f99 commit 9006247
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
apply plugin: 'net.minecraftforge.gradle'


version = '0.1.0'
version = '0.1.1'
group = 'com.boterop.xphealth' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'xphealth'

Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.1.1 (29.01.2023)

* Now this mod works on servers

## 0.1.0 (27.01.2023)

* Initial release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
import net.minecraft.world.entity.ai.attributes.AttributeInstance;
import net.minecraft.world.entity.ai.attributes.AttributeModifier;
import net.minecraft.world.entity.player.Player;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.event.entity.player.PlayerEvent;
import net.minecraftforge.event.entity.player.PlayerXpEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraft.world.entity.ai.attributes.Attributes;

@Mod.EventBusSubscriber(value = Dist.CLIENT, modid="xphealth", bus= Mod.EventBusSubscriber.Bus.FORGE)
@Mod.EventBusSubscriber(modid="xphealth", bus= Mod.EventBusSubscriber.Bus.FORGE)
public class XPEventHandler {
@SubscribeEvent
public static void onXPChange(PlayerXpEvent.XpChange event) {
Expand Down

0 comments on commit 9006247

Please sign in to comment.