Skip to content

Commit

Permalink
best playerdeathlistener fix ever
Browse files Browse the repository at this point in the history
  • Loading branch information
not-coded committed Aug 7, 2024
1 parent ba1d4c1 commit 3b77ca4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class WorldUtil {
.setGameRule(GameRules.RULE_DAYLIGHT, false)
.setGameRule(GameRules.RULE_DO_IMMEDIATE_RESPAWN, false)
.setGameRule(GameRules.RULE_DOMOBSPAWNING, false)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, false)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, true)
.setGameRule(GameRules.RULE_SPAWN_RADIUS, 0);

private static final String templateWorldName = "template:void";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/nexia/ffa/FfaUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class FfaUtil {
.setGameRule(GameRules.RULE_DAYLIGHT, true)
.setGameRule(GameRules.RULE_DO_IMMEDIATE_RESPAWN, true)
.setGameRule(GameRules.RULE_DOMOBSPAWNING, false)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, false)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, true)
.setGameRule(GameRules.RULE_ANNOUNCE_ADVANCEMENTS, false)
.setGameRule(GameRules.RULE_DISABLE_ELYTRA_MOVEMENT_CHECK, true)
.setGameRule(GameRules.RULE_DROWNING_DAMAGE, true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public static ServerLevel createWorld(String uuid, boolean doRegeneration) {
.setGameRule(GameRules.RULE_DO_IMMEDIATE_RESPAWN, false)
.setGameRule(GameRules.RULE_DOMOBSPAWNING, false)
.setGameRule(GameRules.RULE_NATURAL_REGENERATION, doRegeneration)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, false)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, true)
.setGameRule(GameRules.RULE_SPAWN_RADIUS, 0)
.setGameRule(GameRules.RULE_ANNOUNCE_ADVANCEMENTS, false)
.setGameRule(GameRules.RULE_DOFIRETICK, false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public boolean generate() {
.setGameRule(GameRules.RULE_DO_IMMEDIATE_RESPAWN, false)
.setGameRule(GameRules.RULE_DOMOBSPAWNING, false)
.setGameRule(GameRules.RULE_NATURAL_REGENERATION, true)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, false)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, true)
.setGameRule(GameRules.RULE_SPAWN_RADIUS, 0)
.setGameRule(GameRules.RULE_ANNOUNCE_ADVANCEMENTS, false)
.setTimeOfDay(6000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class SkywarsGame {
.setGameRule(GameRules.RULE_DO_IMMEDIATE_RESPAWN, false)
.setGameRule(GameRules.RULE_DOMOBSPAWNING, false)
.setGameRule(GameRules.RULE_NATURAL_REGENERATION, true)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, false)
.setGameRule(GameRules.RULE_SHOWDEATHMESSAGES, true)
.setGameRule(GameRules.RULE_SPAWN_RADIUS, 0)
.setGameRule(GameRules.RULE_ANNOUNCE_ADVANCEMENTS, false)
.setTimeOfDay(6000);
Expand Down

0 comments on commit 3b77ca4

Please sign in to comment.