File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
src/main/kotlin/gg/skytils/skytilsmod/mixins/hooks/entity Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -43,20 +43,14 @@ class EntityLivingBaseHook(val entity: EntityLivingBase) {
4343 overrideDisplayName = s
4444 }
4545
46- private fun isNPC (): Boolean {
47- if (entity !is EntityPlayer ) return true
48-
49- return entity.hasCustomName() ||
50- entity.displayName.unformattedText.contains(" ♲" ) ||
51- entity.uniqueID.version() != 4
52- }
53-
5446 val isBreefing by lazy {
5547 entity.name == " Breefing" && (SuperSecretSettings .breefingDog || Random .nextInt(100 ) < 3 )
5648 }
5749
5850 val isSmol by lazy {
59- Utils .inSkyblock && entity is EntityPlayer && (SuperSecretSettings .smolPeople || (entity is EntityPlayerSP && SuperSecretSettings .smolMe) || isBreefing ) && ! isNPC()
51+ Utils .inSkyblock && entity is EntityPlayer && (
52+ (entity is EntityPlayerSP && SuperSecretSettings .smolMe) ||
53+ (SuperSecretSettings .smolPeople && entity.uniqueID.version() == 4 ) || isBreefing)
6054 }
6155
6256 fun modifyPotionActive (potionId : Int , cir : CallbackInfoReturnable <Boolean >) {
You can’t perform that action at this time.
0 commit comments