This commit is contained in:
asofold 2014-11-29 14:19:39 +01:00
parent 02ea246ebb
commit 3cc5aef282
9 changed files with 400 additions and 399 deletions

View File

@ -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.
// }
}

View File

@ -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(),