mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-11 02:07:38 +00:00
[Forge] Update to 28.0.45 for package rename
This commit is contained in:
parent
4b54c32f3a
commit
35edd95c87
worldedit-forge
@ -13,7 +13,7 @@ applyShadowConfiguration()
|
|||||||
|
|
||||||
val minecraftVersion = "1.14.4"
|
val minecraftVersion = "1.14.4"
|
||||||
val mappingsMinecraftVersion = "1.14.3"
|
val mappingsMinecraftVersion = "1.14.3"
|
||||||
val forgeVersion = "28.0.34"
|
val forgeVersion = "28.0.45"
|
||||||
|
|
||||||
configurations.all {
|
configurations.all {
|
||||||
resolutionStrategy {
|
resolutionStrategy {
|
||||||
|
@ -21,8 +21,8 @@ package com.sk89q.worldedit.forge;
|
|||||||
|
|
||||||
import net.minecraft.entity.player.ServerPlayerEntity;
|
import net.minecraft.entity.player.ServerPlayerEntity;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
|
import net.minecraftforge.event.TickEvent;
|
||||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||||
import net.minecraftforge.fml.common.gameevent.TickEvent;
|
|
||||||
import net.minecraftforge.fml.server.ServerLifecycleHooks;
|
import net.minecraftforge.fml.server.ServerLifecycleHooks;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
@ -56,7 +56,7 @@ public class ThreadSafeCache {
|
|||||||
|
|
||||||
if (now - lastRefresh > REFRESH_DELAY) {
|
if (now - lastRefresh > REFRESH_DELAY) {
|
||||||
Set<UUID> onlineIds = new HashSet<>();
|
Set<UUID> onlineIds = new HashSet<>();
|
||||||
|
|
||||||
MinecraftServer server = ServerLifecycleHooks.getCurrentServer();
|
MinecraftServer server = ServerLifecycleHooks.getCurrentServer();
|
||||||
if (server == null) {
|
if (server == null) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user