Update libac, deprecate delayed executor
This commit is contained in:
parent
d68fa58bf9
commit
d9113f357c
3 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ org.gradle.daemon=false
|
||||||
# parchment_version=2023.09.03
|
# parchment_version=2023.09.03
|
||||||
# luckperms_api_version=5.4
|
# luckperms_api_version=5.4
|
||||||
|
|
||||||
libac=1.5.8
|
libac=1.5.9
|
||||||
## Environment Properties
|
## Environment Properties
|
||||||
|
|
||||||
# The Minecraft version must agree with the Forge version to get a valid artifact
|
# The Minecraft version must agree with the Forge version to get a valid artifact
|
||||||
|
@ -53,7 +53,7 @@ mod_name=Zontreck's Library Mod
|
||||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||||
mod_license=GPLv3
|
mod_license=GPLv3
|
||||||
# The mod version. See https://semver.org/
|
# The mod version. See https://semver.org/
|
||||||
mod_version=1201.11.021824.0918
|
mod_version=1201.11.021824.0959
|
||||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||||
# This should match the base package used for the mod sources.
|
# This should match the base package used for the mod sources.
|
||||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
|
|
@ -116,7 +116,6 @@ public class LibZontreck {
|
||||||
public void onServerStopping(final ServerStoppingEvent ev)
|
public void onServerStopping(final ServerStoppingEvent ev)
|
||||||
{
|
{
|
||||||
ALIVE=false;
|
ALIVE=false;
|
||||||
DelayedExecutorService.stop();
|
|
||||||
|
|
||||||
Iterator<Profile> iProfile = PROFILES.values().iterator();
|
Iterator<Profile> iProfile = PROFILES.values().iterator();
|
||||||
while(iProfile.hasNext())
|
while(iProfile.hasNext())
|
||||||
|
|
|
@ -52,7 +52,7 @@ public class ForgeEventHandlers {
|
||||||
|
|
||||||
MinecraftForge.EVENT_BUS.post(new ProfileLoadedEvent(prof, player, level));
|
MinecraftForge.EVENT_BUS.post(new ProfileLoadedEvent(prof, player, level));
|
||||||
|
|
||||||
DelayedExecutorService.getInstance().schedule(new Task("send-msg", true) {
|
Thread tx = new Thread(new Task("send-msg", true) {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
// Check player wallet, then send wallet to client
|
// Check player wallet, then send wallet to client
|
||||||
|
@ -61,7 +61,8 @@ public class ForgeEventHandlers {
|
||||||
S2CServerAvailable avail = new S2CServerAvailable();
|
S2CServerAvailable avail = new S2CServerAvailable();
|
||||||
avail.send(player);
|
avail.send(player);
|
||||||
}
|
}
|
||||||
}, 10);
|
});
|
||||||
|
tx.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
|
|
Reference in a new issue