Compare commits

..

2 commits

Author SHA1 Message Date
9b82e1a5a4 Fix erronous double-line of code
All checks were successful
Build TurnBasedMC and create Release / check-release-exists (push) Successful in 1s
Build TurnBasedMC and create Release / build-and-create-release (push) Successful in 1m43s
2024-11-01 14:13:07 +09:00
2840445bfc Update Changelog.md 2024-11-01 14:12:11 +09:00
2 changed files with 12 additions and 1 deletions

View file

@ -1,5 +1,17 @@
# Upcoming changes # Upcoming changes
# Version Forge-1.26.4
Add support for "per-player-stats" in Turn-Based-Battle.
Update to Forge 52.0.24 (MC 1.21.1).
# Version NeoForge-1.26.4-MC-1.21.1
Add support for "per-player-stats" in Turn-Based-Battle.
Update to Neoforge 21.1.73 (Minecraft 1.21.1).
# Version NeoForge-1.26.4 # Version NeoForge-1.26.4
Add support for "per-player-stats" in Turn-Based-Battle. Add support for "per-player-stats" in Turn-Based-Battle.

View file

@ -153,7 +153,6 @@ public class TurnBasedMinecraftMod {
for (ServerPlayer player : c.getSource().getServer().getPlayerList().getPlayers()) { for (ServerPlayer player : c.getSource().getServer().getPlayerList().getPlayers()) {
proxy.getConfig().addBattleIgnoringPlayer(player.getId()); proxy.getConfig().addBattleIgnoringPlayer(player.getId());
PacketDistributor.sendToPlayer(player, new PacketGeneralMessage("OP disabled turn-based-combat for everyone")); PacketDistributor.sendToPlayer(player, new PacketGeneralMessage("OP disabled turn-based-combat for everyone"));
PacketDistributor.sendToPlayer(player, new PacketGeneralMessage("OP disabled turn-based-combat for everyone"));
} }
return 1; return 1;
})); }));