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:
@@ -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'])
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user