Updated PE to 2.10.0 latest

This commit is contained in:
xSquishyLiam
2025-10-22 11:03:37 +01:00
parent 8767522189
commit ee425c5341
2 changed files with 3 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ dependencies {
compileOnly(files("libs/geyserutils-spigot-1.0-SNAPSHOT.jar"))
compileOnly("org.geysermc.floodgate:api:2.2.4-SNAPSHOT")
implementation("com.github.retrooper:packetevents-spigot:2.10.0-SNAPSHOT")
implementation("com.github.retrooper:packetevents-spigot:2.10.0")
implementation("org.bstats:bstats-bukkit:3.0.2")
implementation("org.reflections:reflections:0.10.2")

View File

@@ -51,10 +51,6 @@ public class ModelListener implements Listener {
}
}
/*
/ xSquishyLiam:
/ I'm wondering if we could move this to more of a player loading chunks instead of checking all worlds via PlayerChunkLoadEvent?
*/
@EventHandler
public void onWorldInit(WorldInitEvent event) {
World world = event.getWorld();
@@ -62,9 +58,8 @@ public class ModelListener implements Listener {
}
/*
/ xSquishyLiam - conclusion:
/ I'm assuming when a player joins the server the packet for mob spawning is instant so the client resyncs itself
/ hence why the pig is shown instead of going invisible and not displaying the texture of the modeled mob
/ xSquishyLiam:
/ Delay is required due to when a player joins the server the packet for mob spawning is instant so the client resyncs itself
*/
@EventHandler
public void onPlayerJoin(PlayerJoinEvent event) {