Skip to content

Instantly share code, notes, and snippets.

💭
I'm not available 24/7. You'll have to wait.

Markus L. (Xer) Xernium

💭
I'm not available 24/7. You'll have to wait.
Block or report user

Report or block Xernium

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Xernium
Xernium / SimpleGlowFix.java
Created Apr 29, 2018
Fix for the 'Glowing of items' CE
View SimpleGlowFix.java
// WARNING THIS IS JUST A SNIPPET OF A METHOD
// This is how my little sister fixed the Glow Enchant.
// With ItemStack toTest
// For this to work the 'Glow' Enchant doesnt have to be registered.
// Add this to any item move or modify event
try {
Map<Enchantment, Integer> ttt = toTest.getItemMeta().getEnchants();
for (Map.Entry<Enchantment, Integer> entry : ttt.entrySet()) {
You can’t perform that action at this time.