Update version and use 1.16.3

This commit is contained in:
Norbi Peti 2021-03-03 17:58:38 +01:00
parent 8770debfef
commit 416393ea77
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56
3 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@
<groupId>com.github.TBMCPlugins</groupId>
<artifactId>CustomDimensions</artifactId>
<version>1.5.0</version>
<version>1.6.0</version>
<build>
<plugins>
<plugin>
@ -63,7 +63,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.16.4-R0.1-SNAPSHOT</version>
<version>1.16.3-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>

View file

@ -5,12 +5,12 @@ import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
import com.google.common.util.concurrent.Callables;
import com.mojang.serialization.Lifecycle;
import net.minecraft.server.v1_16_R3.*;
import net.minecraft.server.v1_16_R2.*;
import org.bstats.bukkit.Metrics;
import org.bstats.charts.SimplePie;
import org.bukkit.Bukkit;
import org.bukkit.WorldType;
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
import org.bukkit.event.Listener;
import org.bukkit.event.world.WorldInitEvent;
import org.bukkit.event.world.WorldLoadEvent;
@ -117,7 +117,7 @@ public class CustomDimensions extends JavaPlugin implements Listener {
worlddata.checkName(name);
worlddata.a(console.getServerModName(), console.getModded().isPresent());
if (console.options.has("forceUpgrade")) {
net.minecraft.server.v1_16_R3.Main.convertWorld(session, DataConverterRegistry.a(),
net.minecraft.server.v1_16_R2.Main.convertWorld(session, DataConverterRegistry.a(),
console.options.has("eraseCache"), () -> true,
worlddata.getGeneratorSettings().d().d().stream()
.map((entry2) -> ResourceKey.a(IRegistry.K, entry2.getKey().a()))

View file

@ -1,6 +1,6 @@
name: CustomDimensions
main: buttondevteam.customdimensions.CustomDimensions
version: '1.5'
version: '1.6'
api-version: '1.16'
loadbefore:
- Multiverse-Core