Fixed a logic error that results in IndexOutOfBounds
Update plugin.yml to match the usage syntax