mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 08:56:04 +01:00
Remove redundant script event calling when changing the time
This commit is contained in:
@@ -522,10 +522,6 @@ public class World implements Iterable<Player> {
|
||||
*/
|
||||
public void changeTime(long gameTime) {
|
||||
this.currentWorldTime = gameTime;
|
||||
|
||||
// Trigger script events.
|
||||
this.players.forEach(
|
||||
player -> player.getQuestManager().queueEvent(QuestContent.QUEST_CONTENT_GAME_TIME_TICK));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user