Skip to content
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

Fix 1.18 issues #98

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Fix 1.18 issues #98

wants to merge 10 commits into from

Commits on Jan 17, 2022

  1. Configuration menu
    Copy the full SHA
    b0b2cce View commit details
    Browse the repository at this point in the history
  2. Update dependencies and repos to fix broken build

    ProtocolLib 4.4.0 depends on a broken artifact (BukkitExecutors),
    which is now part of ProtocolLib itself as of version 4.6.0.
    See dmulloy2/ProtocolLib@7ac4ac6
    
    AnvilGui needs to be shaded into the JAR.
    0dinD committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    4ce8c4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9a7237e View commit details
    Browse the repository at this point in the history
  4. Stop using NMS to change MOTD

    MinecraftServer#setMotd was obfuscated in Spigot for 1.18, and
    maintaining an NMS solution using VersionUtils seems like more trouble
    than it's worth when we can just use PingListener to change the MOTD.
    0dinD committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    78989c5 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Avoid usage of BiomeMapping in 1.18+

    Replacing ocean biomes no longer works with the new terrain generation
    system, so it's better to log a warning.
    
    This also avoids a plugin crash in 1.18.2, for which there is no
    BiomeMapping release yet (and it's unclear if there will ever be one).
    0dinD committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    c443367 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Add VersionAdapter to support 'replace-ocean-biomes' on 1.18+

    The benefit of VersionAdapter over VersionUtils is that each adapter
    implementation is built against its corresponding Paper/Spigot version,
    meaning it's easier to catch errors and less reflection has to be used.
    
    However, VersionUtils is tightly coupled with the rest of the codebase
    which makes it hard to migrate some methods without substantial
    refactoring. That'll be something to look at in the future.
    0dinD committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    72c8fab View commit details
    Browse the repository at this point in the history
  2. Add run-paper Gradle plugin

    This makes it easier to test the plugin on different server versions.
    0dinD committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    ecb104a View commit details
    Browse the repository at this point in the history
  3. Improve Shadow plugin configuration

    Previously it was applied to all projects, which is unnecessary and
    slows the build down.
    
    BiomeMapping is now shaded to avoid conflicts with other plugins.
    0dinD committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    2f54917 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Fix indentation issues

    0dinD committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    1d71237 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Remove paperweight workaround

    The issue was that task the configuration avoidance API has to be used
    explicitly in the Groovy DSL, see PaperMC/paperweight#143.
    0dinD committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    110178a View commit details
    Browse the repository at this point in the history