9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2026-01-06 15:51:52 +00:00

Fixed console spam on 1.17-1.18

This commit is contained in:
Auxilor
2022-07-11 16:03:11 +01:00
parent 26b8ee871d
commit e3931d15e6
2 changed files with 6 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ allprojects {
}
dependencies {
compileOnly 'com.willfp:eco:6.35.1'
compileOnly 'com.willfp:eco:6.37.2'
implementation 'com.willfp:libreforge:3.73.0'
implementation 'org.joml:joml:1.10.4'
compileOnly fileTree(dir: '../../lib', include: ['*.jar'])

View File

@@ -1,6 +1,7 @@
package com.willfp.ecoskills.stats
import com.willfp.eco.core.EcoPlugin
import com.willfp.eco.core.Prerequisite
import com.willfp.eco.core.integrations.hologram.HologramManager
import com.willfp.eco.util.NumberUtils
import com.willfp.eco.util.StringUtils
@@ -40,8 +41,10 @@ class DamageIndicatorListener(
return
}
if (event.entity is Allay) {
return
if (Prerequisite.HAS_1_19.isMet) {
if (event.entity is Allay) {
return
}
}
val location = event.entity.location