You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
entitytypes property bukkit form:
get:
broadcast "Expr: %expression 1%"
set {_type class} to try expr-1.getType()
loop ...BukkitEntityType.values():
return loop-value if loop-value.getEntityClass() is {_type class}
blocks property (creature|mob|entity|monster) type[s]:
return type: entitytype
get:
return bukkit form of (expr-1.getState().getSpawnedType())
set entitytype:
broadcast "Change value: %change value%"
broadcast "Bukkit change value: %bukkit form of change value%"
#broadcast "Expr: %expression 1%"
set {_state} to expr-1.getState()
{_state}.setSpawnedType(bukkit form of change value)
{_state}.update()
command /test:
trigger:
player's targeted block is a mob spawner
send "%bukkit form of cow%"
set mob type of player's targeted block to ("cow" parsed as an entity type)
The entity types expression doesn't get called inside of the blocks property expression, however is gets called when in a command.
To reproduce
Code above
Expected behavior
The entity types expression should get called when the blocks property expression does
Server information
skript-mirror: 2.0.0
Skript: 2.4-beta5
Server version: 1.13.2 PaperSpigot
The text was updated successfully, but these errors were encountered:
Describe the bug
The entity types expression doesn't get called inside of the blocks property expression, however is gets called when in a command.
To reproduce
Code above
Expected behavior
The entity types expression should get called when the blocks property expression does
Server information
The text was updated successfully, but these errors were encountered: