mirror of
https://github.com/Shiewk/Widgets.git
synced 2026-04-28 11:34:17 +02:00
Update TPS widget immediately on world switch
This commit is contained in:
@@ -37,6 +37,7 @@ public class TPSWidget extends BasicTextWidget {
|
|||||||
|
|
||||||
public static void worldChanged(){
|
public static void worldChanged(){
|
||||||
updatesSinceWorldChange = 0;
|
updatesSinceWorldChange = 0;
|
||||||
|
INSTANCE.updateTPS(1, 1, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void worldTimeUpdated(long nanoTime) {
|
public static void worldTimeUpdated(long nanoTime) {
|
||||||
|
|||||||
Reference in New Issue
Block a user