Skip to content

Commit

Permalink
[Forge] Update to 28.0.45 for package rename
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Aug 5, 2019
1 parent 4b54c32 commit 35edd95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion worldedit-forge/build.gradle.kts
Expand Up @@ -13,7 +13,7 @@ applyShadowConfiguration()

val minecraftVersion = "1.14.4"
val mappingsMinecraftVersion = "1.14.3"
val forgeVersion = "28.0.34"
val forgeVersion = "28.0.45"

configurations.all {
resolutionStrategy {
Expand Down
Expand Up @@ -21,8 +21,8 @@

import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.server.MinecraftServer;
import net.minecraftforge.event.TickEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import net.minecraftforge.fml.server.ServerLifecycleHooks;

import java.util.Collections;
Expand Down Expand Up @@ -56,7 +56,7 @@ public void tickStart(TickEvent event) {

if (now - lastRefresh > REFRESH_DELAY) {
Set<UUID> onlineIds = new HashSet<>();

MinecraftServer server = ServerLifecycleHooks.getCurrentServer();
if (server == null) {
return;
Expand Down

0 comments on commit 35edd95

Please sign in to comment.