Skip to content

Commit

Permalink
Fixed Multiplayer respawn bug.
Browse files Browse the repository at this point in the history
Updated Version number.
  • Loading branch information
JMilamber committed Nov 20, 2022
1 parent 29527f8 commit 6819fe4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'


version = "${minecraftVersion}-2.3.0"
version = "${minecraftVersion}-2.3.1"
group = 'com.brassAmber.ba_bt' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'BrassAmberBattleTowers'

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/BrassAmber/ba_bt/client/BTEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import net.minecraft.client.Minecraft;
import net.minecraft.client.sounds.MusicManager;
import net.minecraft.world.entity.player.Player;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.event.entity.player.PlayerEvent;
import net.minecraftforge.event.server.ServerStartedEvent;
import net.minecraftforge.event.server.ServerStoppedEvent;
Expand All @@ -18,6 +20,7 @@
public class BTEvents {

@SubscribeEvent
@OnlyIn(Dist.CLIENT)
public static void onDeath(PlayerEvent.PlayerRespawnEvent event) {
BrassAmberBattleTowers.LOGGER.info("In Respawn code-");
Player player = event.getPlayer();
Expand Down

0 comments on commit 6819fe4

Please sign in to comment.