Skip to content

Commit

Permalink
fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
MukjepScarlet authored Feb 20, 2025
1 parent 54418d9 commit cc7032d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ object CustomAntiBotMode : Choice("Custom"), ModuleAntiBot.IAntiBotMode {
ageSet.add(entity.id)
}

if (ArmorMaterial.enabled && !ArmorMaterial.isValid(entity)) {
if (Armor.enabled && !Armor.isValid(entity)) {
armorSet.add(entity.id)
}
}
Expand All @@ -155,7 +155,7 @@ object CustomAntiBotMode : Choice("Custom"), ModuleAntiBot.IAntiBotMode {
with(armorSet.intIterator()) {
while (hasNext()) {
val entity = world.getEntityById(nextInt()) as? PlayerEntity
if (entity == null || ArmorMaterial.isValid(entity)) {
if (entity == null || Armor.isValid(entity)) {
remove()
}
}
Expand Down

0 comments on commit cc7032d

Please sign in to comment.