code refactoring

This commit is contained in:
unurled 2024-03-19 21:27:14 +01:00
parent bcb1fa2e56
commit 2d3ddef181
Signed by: unurled
GPG key ID: FDBC9CBE1F82423F
9 changed files with 62 additions and 62 deletions

View file

@ -73,7 +73,7 @@ public class SRPlayerUtils {
* href="https://github.com/DragonL0508/D-Damage-Indicators/blob/master/src/main/java/me/dragonl/damageIndicators/GlobalListener.java">author</a>
*/
public static @NotNull TextDisplay spawnIndicator(
@NotNull Entity eventEntity, @NotNull Boolean isHeal, double number) {
@NotNull Entity eventEntity, boolean isHeal, double number) {
// vector operation
Vector location = eventEntity.getLocation().toVector();
Vector facingVector = eventEntity.getFacing().getDirection();