Add fall detection and fix access modifiers

- Added Y-coordinate fall detection (spawn.Y - 30)
- Players now respawn when falling below threshold
- Fixed fall() access modifier (protected -> public)
- Added debug logging for locale loading issues
This commit is contained in:
loki 2026-04-09 12:22:03 +02:00
parent c142d21a26
commit 03ee678b68
4 changed files with 34 additions and 7 deletions

View file

@ -163,7 +163,7 @@ public class CoopMode implements MultiMode {
}
@Override
protected void fall() {
public void fall() {
// Show each player their individual contribution before reset
getPlayers().forEach(pp -> {
int contrib = contributions.getOrDefault(pp.getUUID(), 0);