Skip to content
Success

Changes

Summary

  1. Fix + Update `EntityMaterial` (commit: a769245) (details)
Commit a7692452f26bf0c3da511cd18427529470861963 by 31237389+tal5
Fix + Update `EntityMaterial`

https://github.com/DenizenScript/Denizen/commit/ba0aa4b2c096ae62482c7fa63de5503cfe463a27 broke it by making the `instanceof` checks in `getBlockData` use the `EntityTag` object instead of the Bukkit entity object.
This fixes that, and updates it to modern property format.
Tested on `1.20.1` and `1.17.1`.
(commit: a769245)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityMaterial.java (diff)