mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	Tool lower task sync
This commit is contained in:
		@@ -9,7 +9,6 @@ Key:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Version 2.1.48
 | 
					Version 2.1.48
 | 
				
			||||||
    1.14 Support
 | 
					    1.14 Support
 | 
				
			||||||
    (API) Player notification events are now marked async
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
Version 2.1.47
 | 
					Version 2.1.47
 | 
				
			||||||
    Fix NPE when party leader is offline and players grab a party list
 | 
					    Fix NPE when party leader is offline and players grab a party list
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -910,7 +910,7 @@ public class McMMOPlayer {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            setToolPreparationMode(tool, true);
 | 
					            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);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -28,7 +28,7 @@ public class McMMOPlayerNotificationEvent extends Event implements Cancellable {
 | 
				
			|||||||
    protected final NotificationType notificationType;
 | 
					    protected final NotificationType notificationType;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public McMMOPlayerNotificationEvent(Player who, NotificationType notificationType, TextComponent notificationTextComponent, ChatMessageType chatMessageType, boolean isMessageAlsoBeingSentToChat) {
 | 
					    public McMMOPlayerNotificationEvent(Player who, NotificationType notificationType, TextComponent notificationTextComponent, ChatMessageType chatMessageType, boolean isMessageAlsoBeingSentToChat) {
 | 
				
			||||||
        super(true);
 | 
					        super(false);
 | 
				
			||||||
        this.notificationType = notificationType;
 | 
					        this.notificationType = notificationType;
 | 
				
			||||||
        this.notificationTextComponent = notificationTextComponent;
 | 
					        this.notificationTextComponent = notificationTextComponent;
 | 
				
			||||||
        this.chatMessageType = chatMessageType;
 | 
					        this.chatMessageType = chatMessageType;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user