mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-15 12:01:51 +01:00
Spaces.
This commit is contained in:
parent
02ea246ebb
commit
3cc5aef282
@ -177,13 +177,13 @@ public class MCAccessCBDev implements MCAccess{
|
||||
return mat.hasGravity();
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public void correctDirection(final Player player) {
|
||||
// final EntityPlayer mcPlayer = ((CraftPlayer) player).getHandle();
|
||||
// // Main direction.
|
||||
// mcPlayer.yaw = LocUtil.correctYaw(mcPlayer.yaw);
|
||||
// mcPlayer.pitch = LocUtil.correctPitch(mcPlayer.pitch);
|
||||
// // Consider setting the lastYaw here too.
|
||||
// }
|
||||
// @Override
|
||||
// public void correctDirection(final Player player) {
|
||||
// final EntityPlayer mcPlayer = ((CraftPlayer) player).getHandle();
|
||||
// // Main direction.
|
||||
// mcPlayer.yaw = LocUtil.correctYaw(mcPlayer.yaw);
|
||||
// mcPlayer.pitch = LocUtil.correctPitch(mcPlayer.pitch);
|
||||
// // Consider setting the lastYaw here too.
|
||||
// }
|
||||
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ import fr.neatmonster.nocheatplus.config.ConfigManager;
|
||||
*/
|
||||
public class ModUtil {
|
||||
|
||||
// TODO: Consider to register individual codes in a generic way, detect conflicts (+tests?).
|
||||
private static final ClientMOTD[] motdS = new ClientMOTD[]{
|
||||
new ReiMOTD(),
|
||||
new ZombeMOTD(),
|
||||
|
Loading…
Reference in New Issue
Block a user