Slimefun-Addon-Community / HotbarPets

This is the Source Code of my Slimefun Addon "HotbarPets". Inspired by the famous mod "InventoryPets"
GNU General Public License v3.0
4 stars 20 forks source link

Ghast and Dragon pet bypass PvP #44

Closed PhoenixCodingStuff closed 2 years ago

PhoenixCodingStuff commented 2 years ago

Description

Ghast pet and Dragon pet bypass PvP Even when a person has PvP off , the ghast pet and dragon pet are able to kill that person

Steps to reproduce the Issue

image image My pc is bad so could not record but hope you can see that the dragon fireball is able to damage and kill the another player even though PvP is off

Expected behavior

No damage done to the player because PvP is off

Server Log / Error Report

N/A

Environment

[Mon 07:48:16 INFO ] This Server uses the following setup of Slimefun: Paper git-Paper-216 (MC: 1.18.1) Slimefun DEV - 1006 (git 114de629) Metrics-Module #28 Java 17 Installed Addons: (34) GlobalWarming vDEV - 11 (git 73ff77d4) SlimeBot v1.1.0 Networks vDEV - 32 (git aaff3aac) CrystamaeHistoria vDEV - 59 (git d9361aae) ExtraTools vDEV - 33 (git 46d26e49) AureliumSkills vBeta 1.2.10 FoxyMachines vDEV - 55 (git c1b69ec7) FNAmplifications vDEV - 54 (git b26bd8f8) SimpleMaterialGenerators vDEV - 4 (git 5543cc8f) DynaTech vDEV - 160 (git e1075a1c) ExtraGear vDEV - 13 (git c62047e2) SFAdvancements vDEV - 9 (git e90d0f72) CMILib v1.1.2.3 InfinityExpansion vDEV - 137 (git 4b326e08) SFCalc vDEV - 37 (git dfc0fc41) ElectricSpawners vDEV - 23 (git 6ec96773) MobCapturer vDEV - 17 (git c21b00a5) SlimyTreeTaps vDEV - 20 (git 963f0383) FlowerPower vDEV - 13 (git 06ad45dc) SlimeTinker vDEV - 71 (git a226bf46) TranscEndence vDEV - 40 (git cfc98363) FluffyMachines vDEV - 106 (git 38aa2740) DyedBackpacks vDEV - 17 (git 8b329e96) HotbarPets vDEV - 38 (git fa6c871d) SlimefunLuckyBlocks vDEV - 36 (git 60f0c8dc) ExoticGarden vDEV - 78 (git 7f9a5f63) DankTech2 vDEV - 4 (git 803760fb) Liquid vDEV - 14 (git 0f5346bf) SlimeCustomizer vDEV - 24 (git f6aa53e9) LiteXpansion vDEV - 174 (git e36d509d) ElementManipulation vDEV - 9 (git 4d3ceae6) SoulJars vDEV - 23 (git b8358a1f) EquivalencyTech v${project.version} PotionExpansion vDEV - 5 (git e2cfcd8a)

TerslenK commented 2 years ago

does vanilla dragon breath hurts player when their pvp is off?

PhoenixCodingStuff commented 2 years ago

Yes

TerslenK commented 2 years ago

thats probably why since dragon pet places vanilla breath

PhoenixCodingStuff commented 2 years ago

Yup understood that , but was thinking there should be a way to cancel the event if another player is close whose PvP is off