Tool lower task sync

This commit is contained in:
nossr50
2019-04-23 01:13:21 -07:00
parent 0adaa0ba66
commit d862f7f779
3 changed files with 2 additions and 3 deletions

View File

@ -910,7 +910,7 @@ public class McMMOPlayer {
}
setToolPreparationMode(tool, true);
new ToolLowerTask(this, tool).runTaskLaterAsynchronously(mcMMO.p, 4 * Misc.TICK_CONVERSION_FACTOR);
new ToolLowerTask(this, tool).runTaskLater(mcMMO.p, 4 * Misc.TICK_CONVERSION_FACTOR);
}
}

View File

@ -28,7 +28,7 @@ public class McMMOPlayerNotificationEvent extends Event implements Cancellable {
protected final NotificationType notificationType;
public McMMOPlayerNotificationEvent(Player who, NotificationType notificationType, TextComponent notificationTextComponent, ChatMessageType chatMessageType, boolean isMessageAlsoBeingSentToChat) {
super(true);
super(false);
this.notificationType = notificationType;
this.notificationTextComponent = notificationTextComponent;
this.chatMessageType = chatMessageType;