Skip to content

Fix import statement for EntityMountEvent#392

Open
Vapezyy wants to merge 1 commit into
EternalCodeTeam:masterfrom
Vapezyy:patch-1
Open

Fix import statement for EntityMountEvent#392
Vapezyy wants to merge 1 commit into
EternalCodeTeam:masterfrom
Vapezyy:patch-1

Conversation

@Vapezyy

@Vapezyy Vapezyy commented Jun 8, 2026

Copy link
Copy Markdown

name: Pull Request
about: Submit a contribution to EternalCombat
title: 'Fix EntityMountEvent import statement'

📝 Description

Fixed a broken import statement for EntityMountEvent, which was causing compilation errors or runtime issues.

🎯 Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🔧 Refactoring (no functional changes, just code improvements)
  • 🎨 Style/Cosmetic (formatting, whitespace, visual changes)
  • 📚 Documentation (updates to documentation or README)
  • 🤖 CI/CD/Build (changes to workflows, gradle, etc.)

🧪 How Has This Been Tested?

  • Compile Test: Project builds successfully with the corrected import.
  • Runtime Test: Verified that mounting/dismounting entities triggers the combat mechanics correctly without throwing "Failed to register events for class com.eternalcode.combat.fight.knockback.KnockbackRegionController because org/spigotmc/event/entity/EntityMountEvent does not exist"

Test Environment:

  • Minecraft Version: 26.1.2
  • Java Version: 26
  • Platform: Linux

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the import of EntityMountEvent in KnockbackRegionController.java from the SpigotMC package to the Bukkit package. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant