Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@t-hermanns
Copy link
Contributor

@t-hermanns t-hermanns commented Jun 25, 2022

Information

This PR fixes #4946.

Details

Proposed fix:

Modified regex of split in FlatItemDb.java to not split the : if there is a preceding "minecraft" that starts at the beginning of the line.

Environments tested:

OS: Windows 11

Java version: 17.0.1

  • Most recent Paper version (1.19, git-Paper-36)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:

Before:
grafik

After:
grafik

now does not split 'minecraft:' at start of line
@JRoy JRoy added type: bugfix PRs that fix bugs in EssentialsX. module: main Issues or PRs for the main Essentials module labels Jun 25, 2022
@JRoy JRoy changed the title Fix Give Command Error on preceding 'minecraft:' Fix minecraft namespace not working in give command Jun 25, 2022
@JRoy JRoy merged commit 9c5536b into EssentialsX:2.x Jun 25, 2022
@JRoy
Copy link
Member

JRoy commented Jun 25, 2022

Thanks for the contribution!

@t-hermanns t-hermanns deleted the give-com-minecraft-prefix branch June 25, 2022 21:47
@mdcfe mdcfe added this to the 2.19.5 milestone Aug 11, 2022
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: main Issues or PRs for the main Essentials module type: bugfix PRs that fix bugs in EssentialsX.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Give command doesn't support minecraft namespace

3 participants