SuccessChanges

Summary

  1. Added a static helper class to determine whether an Entity can be spectated or not - this results in DRY code. While doing so, excluded mc.thePlayer from the spectateable Entities, resolving https://trello.com/c/anFRmsfM/ (details)
Commit f52ed6d92b80e5de2f1d82e97eec05a98b7b8d5b by CrushedPixel
Added a static helper class to determine whether an Entity can be spectated or not - this results in DRY code. While doing so, excluded mc.thePlayer from the spectateable Entities, resolving https://trello.com/c/anFRmsfM/
The file was addedsrc/main/java/eu/crushedpixel/replaymod/events/handlers/SpectatingHandler.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/renderer/PathPreviewRenderer.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/events/handlers/MouseInputHandler.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/events/handlers/CrosshairRenderHandler.java