code refactoring
This commit is contained in:
parent
bcb1fa2e56
commit
2d3ddef181
9 changed files with 62 additions and 62 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue