Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
CoPokBl committed May 21, 2024
2 parents e9f99c2 + c230264 commit fb7cf9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/serble/estools/Commands/Dismount.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class Dismount extends EntityCommand {
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
List<Entity> targets = new ArrayList<>();
for (String arg : args) { // Can only be non-living Entity in 1.2+
for (String arg : args) { // Can only be living Entity in pre 1.2
Entity entity = Main.majorVersion >= 2 ? getNonLivingEntity(sender, arg) : getEntity(sender, arg);
if (entity == null) {
return false;
Expand Down

0 comments on commit fb7cf9e

Please sign in to comment.