Skip to content

Commit

Permalink
Fix ExprEntityAttribute Parse Bug (#3191)
Browse files Browse the repository at this point in the history
  • Loading branch information
Whimsyturtle authored Jul 22, 2020
1 parent 543517e commit 61224e9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public class ExprEntityAttribute extends PropertyExpression<Entity, Number> {

static {
Skript.registerExpression(ExprEntityAttribute.class, Number.class, ExpressionType.COMBINED,
"%attributetype% [value] of %entities%",
"%entities%'[s] %attributetype% [value]");
"%attributetype% attribute [value] of %entities%",
"%entities%'[s] %attributetype% attribute [value]");
}

private static final boolean DEFAULTVALUE_EXISTS = Skript.isRunningMinecraft(1, 11);
Expand Down
26 changes: 13 additions & 13 deletions src/main/resources/lang/english.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1708,19 +1708,19 @@ genes:

# -- Attribute Types --
attribute types:
generic_armor: generic armor, armor attribute
generic_armor_toughness: generic armor toughness, armor toughness attribute
generic_attack_damage: generic attack damage, attack damage attribute
generic_attack_knockback: generic attack knockback, attack knockback attribute
generic_attack_speed: generic attack speed, attack speed attribute
generic_flying_speed: generic flying speed, flying speed attribute
generic_follow_range: generic follow range, follow range attribute
generic_knockback_resistance: generic knockback resistance, knockback resistance attribute
generic_luck: generic luck, luck attribute
generic_max_health: generic max health, max health attribute
generic_movement_speed: generic movement speed, movement speed attribute
horse_jump_strength: horse jump strength, horse jump strength attribute
zombie_spawn_reinforcements: zombie spawn reinforcements, zombie spawn reinforcements attribute
generic_armor: generic armor, armor
generic_armor_toughness: generic armor toughness, armor toughness
generic_attack_damage: generic attack damage, attack damage
generic_attack_knockback: generic attack knockback, attack knockback
generic_attack_speed: generic attack speed, attack speed
generic_flying_speed: generic flying speed, flying speed
generic_follow_range: generic follow range, follow range
generic_knockback_resistance: generic knockback resistance, knockback resistance
generic_luck: generic luck, luck
generic_max_health: generic max health, max health
generic_movement_speed: generic movement speed, movement speed
horse_jump_strength: horse jump strength
zombie_spawn_reinforcements: zombie spawn reinforcements

# -- Boolean --
boolean:
Expand Down
26 changes: 13 additions & 13 deletions src/main/resources/lang/korean.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1715,19 +1715,19 @@ genes:

# -- Attribute Types --
attribute types:
generic_armor: generic armor, armor attribute
generic_armor_toughness: generic armor toughness, armor toughness attribute
generic_attack_damage: generic attack damage, attack damage attribute
generic_attack_knockback: generic attack knockback, attack knockback attribute
generic_attack_speed: generic attack speed, attack speed attribute
generic_flying_speed: generic flying speed, flying speed attribute
generic_follow_range: generic follow range, follow range attribute
generic_knockback_resistance: generic knockback resistance, knockback resistance attribute
generic_luck: generic luck, luck attribute
generic_max_health: generic max health, max health attribute
generic_movement_speed: generic movement speed, movement speed attribute
horse_jump_strength: horse jump strength, horse jump strength attribute
zombie_spawn_reinforcements: zombie spawn reinforcements, zombie spawn reinforcements attribute
generic_armor: generic armor, armor
generic_armor_toughness: generic armor toughness, armor toughness
generic_attack_damage: generic attack damage, attack damage
generic_attack_knockback: generic attack knockback, attack knockback
generic_attack_speed: generic attack speed, attack speed
generic_flying_speed: generic flying speed, flying speed
generic_follow_range: generic follow range, follow range
generic_knockback_resistance: generic knockback resistance, knockback resistance
generic_luck: generic luck, luck
generic_max_health: generic max health, max health
generic_movement_speed: generic movement speed, movement speed
horse_jump_strength: horse jump strength
zombie_spawn_reinforcements: zombie spawn reinforcements

# -- Boolean --
boolean:
Expand Down

0 comments on commit 61224e9

Please sign in to comment.