Skip to content

Add support for 1.21.4, fix Serialization error, fix deprecations#141

Open
alexsvorada wants to merge 6 commits into
RedstoneFuture:masterfrom
alexsvorada:master
Open

Add support for 1.21.4, fix Serialization error, fix deprecations#141
alexsvorada wants to merge 6 commits into
RedstoneFuture:masterfrom
alexsvorada:master

Conversation

@alexsvorada

Copy link
Copy Markdown

This PR should also fix #140 , solved by shadowing the jackson lib inside the jar to avoid dependency problems.

Server was able to start up without any errors, owner will test changes later today and I will report back.

@RedstoneFuture

Copy link
Copy Markdown
Owner

Thank you very much for the PR. I will take the suggestions into account when I update and improve the plugin. However, I have to differentiate the changes somewhat and will implement some changes a bit differently.

.ignoreAirBlocks(true)
.build();
Operations.completeBlindly(pasteBuilder);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

According to my information, it should work just as well. Did you have problems with it?

break;
case ERROR:
newMotd = Config.motdError();
break;

@RedstoneFuture RedstoneFuture Jul 25, 2025

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Good idea. I wanted to expand the game status system in another update anyway.

public static void setEnchantment(ItemStack itemStack) {
ItemMeta itemMeta = itemStack.getItemMeta();
if (itemMeta != null) itemMeta.addEnchant(Enchantment.LUCK, 10, true);
if (itemMeta != null) itemMeta.addEnchant(Enchantment.LUCK_OF_THE_SEA, 10, true);

@RedstoneFuture RedstoneFuture Jul 25, 2025

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

As the sword is used as a combat weapon, FORTUNE makes more sense here. People never actually fish in MissilesWars. ;)

(I am building my own update PR. You don't need to change it.)

Comment thread pom.xml
<repository>
<id>redstoneworld-repo</id>
<url>https://dl.cloudsmith.io/public/redstoneworld/RedUtilities/maven/</url>
</repository>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Since I installed the project locally, I had completely forgotten about it. Thank you.

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.

Problem with the Serializer on 1.21.3+

2 participants