Matocolotoe / Skript-1.8

The Skript plugin made for Minecraft 1.8.x only. Releases will follow the original repository, except for some bug fixes. Please read the README before updating to Skript-1.8 !
https://discord.gg/yh3Z98m
GNU General Public License v3.0
49 stars 4 forks source link

Monster egg item id #88

Open Henriiig opened 6 months ago

Henriiig commented 6 months ago

Skript Version

13:09:14 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases [13:09:14 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/ [13:09:14 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials [13:09:14 INFO]: [Skript] Server Version: git-PaperSpigot-94ac179e (MC: 1.8.8) [13:09:14 INFO]: [Skript] Skript Version: 2.6.5-for-1.8 [13:09:14 INFO]: [Skript] Installed Skript Addons: [13:09:14 INFO]: [Skript] - skript-placeholders v1.5.2 (https://github.com/APickledWalrus/skript-placeholders) [13:09:14 INFO]: [Skript] - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui) [13:09:14 INFO]: [Skript] - DiSky v4.12.1 [13:09:14 INFO]: [Skript] - skDragon v0.17 [13:09:14 INFO]: [Skript] - skript-reflect v2.3 (https://github.com/TPGamesNL/skript-reflect) [13:09:14 INFO]: [Skript] - skRayFall v1.9.25 (https://sk.rayfall.net/) [13:09:14 INFO]: [Skript] - SkQuery v4.1.6 [13:09:14 INFO]: [Skript] - SkBee v1.10.3 (https://github.com/ShaneBeee/SkBee) [13:09:14 INFO]: [Skript] - WolvSK v1.7.2 [13:09:14 INFO]: [Skript] - LabyModSK v1.1.0 [13:09:14 INFO]: [Skript] - MythicSkriptAddon v0.97a-SNAPSHOT [13:09:14 INFO]: [Skript] Installed dependencies: [13:09:14 INFO]: [Skript] - Vault v1.7.3-CMI [13:09:14 INFO]: [Skript] - WorldGuard v6.1.3-SNAPSHOT;c904242

Bug Description

image image

When using "on right click with spawn egg", the event is not called if the spawn egg has the data value of 0 (no mobs defined) and the item is simply called MONSTER_EGG when using send "%player's tool%" in /test command

Expected Behavior

Player's tool should return "spawn egg" and the on right click event should be called

Steps to Reproduce

See above

Errors or Screenshots

No errors in console

Other

No response

Agreement

Matocolotoe commented 5 months ago

Should be fixed by https://github.com/Matocolotoe/Skript-1.8/commit/a2088656fabc0d7af2c43dd69229c082815b1719