Nd_ Posted September 8, 2019 Share Posted September 8, 2019 on damage: damage cause is potion: victim is in world "ul_KitPVP": victim's x coordinate is between -5.5 and 14.5: victim's z coordinate is between -14 and 8: cancel event So I found a bug in my server so that if the player was looking at an entity, it would bypass the thing which blocks you from throwing them in spawn and damaging people. So I added this, and it's not working. Does anyone have an Idea of what is happening? Link to comment Share on other sites More sharing options...
cymraeg Posted September 8, 2019 Share Posted September 8, 2019 Try: on damage: damage cause is potion victim is in world "ul_KitPVP" victim's x coordinate is between -5.5 and 14.5 victim's z coordinate is between -14 and 8 cancel event Owner of the servers powys, gwent, merthyr, ceredigion and valkyrja. VIP I'm very passive-aggressive. IGN: demonitisation Link to comment Share on other sites More sharing options...
Nd_ Posted September 8, 2019 Author Share Posted September 8, 2019 3 minutes ago, cymraeg said: Try: on damage: damage cause is potion victim is in world "ul_KitPVP" victim's x coordinate is between -5.5 and 14.5 victim's z coordinate is between -14 and 8 cancel event I've tried it and it doesn't work, and idk why Link to comment Share on other sites More sharing options...
cymraeg Posted September 8, 2019 Share Posted September 8, 2019 I realised the problem! See if this works: on damage: victim is a player damage cause is potion victim is in world "ul_KitPVP" victim's x coordinate is between -5.5 and 14.5 victim's z coordinate is between -14 and 8 cancel event Owner of the servers powys, gwent, merthyr, ceredigion and valkyrja. VIP I'm very passive-aggressive. IGN: demonitisation Link to comment Share on other sites More sharing options...
Nd_ Posted September 8, 2019 Author Share Posted September 8, 2019 2 minutes ago, cymraeg said: I realised the problem! See if this works: on damage: victim is a player damage cause is potion victim is in world "ul_KitPVP" victim's x coordinate is between -5.5 and 14.5 victim's z coordinate is between -14 and 8 cancel event Idk why but it still damages the player. Link to comment Share on other sites More sharing options...
cymraeg Posted September 8, 2019 Share Posted September 8, 2019 Possibly this: on damage: damage was caused by potion victim is a player victim is in world "ul_KitPVP" victim's x coordinate is between -5.5 and 14.5 victim's z coordinate is between -14 and 8 cancel event 1 Owner of the servers powys, gwent, merthyr, ceredigion and valkyrja. VIP I'm very passive-aggressive. IGN: demonitisation Link to comment Share on other sites More sharing options...
Nd_ Posted September 8, 2019 Author Share Posted September 8, 2019 1 minute ago, cymraeg said: Possibly this: on damage: damage was caused by potion victim is a player victim is in world "ul_KitPVP" victim's x coordinate is between -5.5 and 14.5 victim's z coordinate is between -14 and 8 cancel event Yes, thank you! Link to comment Share on other sites More sharing options...
cymraeg Posted September 8, 2019 Share Posted September 8, 2019 No problem! Owner of the servers powys, gwent, merthyr, ceredigion and valkyrja. VIP I'm very passive-aggressive. IGN: demonitisation Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now