Skip to content

Commit

Permalink
Merge pull request #5 from Dev0Louis/dev
Browse files Browse the repository at this point in the history
Fix Crash + Bump Version
  • Loading branch information
Dev0Louis authored Apr 20, 2023
2 parents b9bc1da + df88879 commit 3ccc92d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ minecraft_version=1.19.4
yarn_mappings=1.19.4+build.1
loader_version=0.14.19
# Mod Properties
mod_version=2.1.0
mod_version=2.1.1
maven_group=dev.louis
archives_base_name=Nebula
# Dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import net.fabricmc.fabric.api.networking.v1.FabricPacket;
import net.fabricmc.fabric.api.networking.v1.PacketSender;
import net.fabricmc.fabric.api.networking.v1.PacketType;
import net.minecraft.client.network.ClientPlayerEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.network.PacketByteBuf;
import net.minecraft.util.Identifier;

Expand All @@ -25,7 +25,7 @@ public PacketType<?> getType() {
return PACKET_TYPE;
}

public static void receive(SynchronizeManaAmountS2CPacket packet, ClientPlayerEntity player, PacketSender responseSender) {
public static void receive(SynchronizeManaAmountS2CPacket packet, PlayerEntity player, PacketSender responseSender) {
NebulaPlayer.access(player).setMana(packet.mana());
}

Expand Down

0 comments on commit 3ccc92d

Please sign in to comment.