[SPIGOT-358] @e selector issue when using Type paramater Created: 04/Jan/15  Updated: 04/Jan/15  Resolved: 04/Jan/15

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: ZB Assignee: Thinkofname
Resolution: Fixed Votes: 0
Labels: bug, nbt, redstone
Environment:

Multicraft ran server, windows machine.


Attachments: File commands.yml    

 Description   

When using any command with the selector line "@e[type=" it prints out "[03:26:27] An unknown error occurred while attempting to perform this command" and it makes it to the console, which eventually adds up and crashes the server (as this happens 20 times a second across many many command blocks in my wiring).



 Comments   
Comment by Thinkofname [ 04/Jan/15 ]

Should be fixed in latest

Comment by mactso [ 04/Jan/15 ]

Try adding the commands to commands.yml in the command block override section.
.
I've attached an example.

This or adding "/minecraft:" before commands are options. But "/minecraft:" does'nt play well with "execute".

Adding them to commands.yml usually fixes the issue and doesn't require you to change your existing command blocks.

Comment by mactso [ 04/Jan/15 ]

command-block-overrides:

  • give
  • clear
  • tp
  • summon
  • setblock
  • fill
  • effect
  • spawnpoint
  • kill
  • scoreboard
  • eco
Comment by Thinkofname [ 04/Jan/15 ]

<+ThinkBot> You are behind by 23 versions, please rerun BuildTools. (3/20)

Comment by ZB [ 04/Jan/15 ]

Examples:
/scoreboard players set @e[type=Zombie,name=Infected] zhp 3

{Health:4s}

/execute @e[name=Infected,type=Zombie,score_zhp_min=1] ~ ~ ~ particle iconcrack_152_0 ~ ~1 ~ 0 0 0 .1 2 force
/execute @e[type=Zombie,name=Infected] ~ ~ ~ scoreboard players add @e[type=Player,r=2] spread 1
If i remove the type, they run fine, but that's not an option.
As for version, "INFO This server is running CraftBukkit version git-Spigot-5ffe41c-306b233 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)"

Comment by Thinkofname [ 04/Jan/15 ]

"1.8.1, latest spigot" please put the output of /version in that field as saying 'latest' is useless for us (plus we don't even have a 1.8.1 version). Secondly can you give an example of a command that does this, I can't reproduce

Comment by ZB [ 04/Jan/15 ]

annnnd i typoed the title.

Generated at Thu Apr 03 13:22:16 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.