mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-27 10:57:47 +01:00
Might have fixed the bed-leave check.
This commit is contained in:
parent
1e701f01f6
commit
1011b36d6a
@ -260,6 +260,10 @@ public class MovingListener extends CheckListener{
|
||||
player.teleport(target, TeleportCause.PLUGIN);// TODO: schedule / other measures ?
|
||||
}
|
||||
}
|
||||
else{
|
||||
// Reset bed ...
|
||||
CombinedData.getData(player).wasInBed = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user