falkirks / Specter

Super simple debugging for PocketMine.
MIT License
73 stars 35 forks source link

ICU + Sign interaction #37

Open inxomnyaa opened 8 years ago

inxomnyaa commented 8 years ago

When i use /icu on a slapper and then click a command sign which for example teleports me, i get teleported but the specter doesnt.

falkirks commented 8 years ago

Does this happen when controlling regular players or just specters?

inxomnyaa commented 8 years ago

Just specters i guess, havent tested with normal players yet

inxomnyaa commented 4 years ago

more information and a feature request which might solve this issue. issue: when you use icu and try to touch a sign which should teleport you makes you join a game or says something for you (ex: /sudo) the touch is considered by you and not the specter, same goes for slappers. feature request: idk if its possible but if it is, add a command that makes the specter touch whatever is in front of him, like we move it to face the sign or the slapper and then we do for example "/s interact 'specter name' " and it touches the sign or the slapper in front of it. although this might be an issue with icu itself but i haven't tested that yet.

inxomnyaa commented 4 years ago

Does this happen when controlling regular players or just specters?

I can confirm this also happens with players. The PlayerInteractEvent is called for the player that controls, not the Specter/controlled player. Seems to be an issue with ICU