New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IllegalFormatConversionException when using /gpblockinfo #313
Comments
Yea, this likely happened when md_5 made the "1.13" PR (removing/changing deprecated Material ID-based methods for Material enum ones). |
actually that bug has been around since atleast 1.12.2 cause does it there too |
Yes, the "1.13-ready PR" was released in 16.8, where he removed a lot of the deprecated block ID usage. This command also used deprecated code iirc? Hence my mention of it being borked in that PR. |
Yea, the string format is expecting a Material Name, Material ID and MaterialData value. Instead just the Material itself, instead of its ID, is being passed as the Material ID. |
On GriefPrevention 16.8 for 1.12.2 this error keep going.
|
Use an older version of GriefPrevention for Minecraft 1.12.2... |
What behaviour is observed:
When using /gpblockinfo with Spigot or PaperMC for 1.12.2, an error is thrown.
What behaviour is expected:
The usual output of /gpblockinfo, saying block you're looking at and holding.
Steps/models to reproduce:
Use /gpblockinfo
Spigot/Craftbukkit/Paper and GriefPrevention version:
Spigot 1.12.2-R0.1-SNAPSHOT / git-Spigot-642f6d2-6103339
PaperMC 1.12.2-R0.1-SNAPSHOT / git-Paper-1481
Stack trace/error
GriefPrevention config.yml (if applicable)
Fresh install of GriefPrevention with stock yml
Plugin list (if applicable):
LuckPerms, GlowFeller, WorldEdit, VoidGenerator, CraftingStore, Vault, Multiverse-Core, Essentials, EssentialsChat, EssentialsSpawn, GriefPrevention
The text was updated successfully, but these errors were encountered: