Enderman Overhaul

Enderman Overhaul

19M Downloads

[Bug]: Extended Endermen do not post Neoforge teleport events.

Flanks255 opened this issue ยท 0 comments

commented

Bug Description

BaseEnderman.java:325-351 re-implement the teleport method of Vanilla Enderman, adding the canTeleport check, but lack the NeoForge event post that checks if another mod is blocking teleports, thus bypassing teleport protections.

My recommendation, would be to either, call super after your canTeleport check on line 326(as the entire rest of the method is an exact copy of the stock teleport method), or add the NeoForge event posting, which can be found in the NeoForge patched vanilla Enderman.Java:319-320

How to Reproduce?

Use the mod with any other mod that blocks teleportation, like Mob Grinding Utils.

Expected Behavior

No response

Version

2.0.2

Mod Loader Version

Whatever ATM10 has.

Mod Loader

NeoForge

Logs or additional context

No response

Code of Conduct

  • I have searched the issue tracker and confirmed that the issue has not been reported
  • I have checked the FAQ (if one is present) and my issue is not listed
  • I have verified that I am using the latest version of the mod
  • I have verified that I have installed all the required dependencies for the mod
  • I have verified that I do not have Optifine installed. We will close issues if we detect Optifine is in your pack. We cannot fix Optifine issues. Please do not report issues with Optifine present.