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:
parent
c142d21a26
commit
03ee678b68
4 changed files with 34 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue