2
0
Fork 0

Fixing modifier translations

main
Shinare 7 months ago
parent a303ed2ca0
commit 75d9c6ae75

@ -1,5 +1,5 @@
modName = CinderLoE modName = CinderLoE
modVersion = 1.4.0 modVersion = 1.4.1
modId = cinder_loe modId = cinder_loe
modGroup = com.zivilon.cinder_loe modGroup = com.zivilon.cinder_loe

@ -330,9 +330,10 @@ public class Utilities {
return true; return true;
} }
public static Entity find_entity_by_uuid(World world, UUID uuid) { public static Entity find_entity_by_uuid(World world, UUID uuid) {
for (Object obj : world.loadedEntityList) { List<Entity> snapshot = new ArrayList<>(world.loadedEntityList); // Safe copy
if (obj instanceof Entity && uuid.equals(((Entity) obj).getUniqueID())) { for (Entity entity : snapshot) {
return (Entity)obj; if (uuid.equals(entity.getUniqueID())) {
return entity;
} }
} }
return null; return null;

@ -345,13 +345,13 @@ lotr.enchant.meleeReach2=Lengthy
lotr.enchant.meleeSpeed2=Rapid lotr.enchant.meleeSpeed2=Rapid
lotr.enchant.rangedStrong4=Forceful lotr.enchant.rangedStrong4=Forceful
lotr.enchant.fireRepair=Ashen lotr.enchant.fireRepair=Ashen
lotr.enchant.fireRepair.desc=Repairs armor durability while on fire lotr.enchant.fireRepair.desc=Repairs durability while on fire
lotr.enchant.swiftness=Windy lotr.enchant.swiftness=Windy
lotr.enchant.swiftness.desc=1.05x speed speed per armor piece lotr.enchant.swiftness.desc=1.05x movement speed
lotr.enchant.sneak=Cloaked lotr.enchant.stealth=Cloaked
lotr.enchant.sneak.desc=Detection range decrease for each armor piece worn lotr.enchant.stealth.desc=Reduces NPC detection range
lotr.enchant.mountArmor=Heavy lotr.enchant.mountArmor=Heavy
lotr.enchant.mountArmor.desc=Add +1 to the mount armor for each armor piece worn lotr.enchant.mountArmor.desc=+1 mount armor
lotr.unit.Banner_Warg=Warg Rider Banner lotr.unit.Banner_Warg=Warg Rider Banner

Loading…
Cancel
Save