Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small Fixes Part 1 - HumanEntity, SpongeUserInventory, SpongeTabList #2438

Merged
merged 1 commit into from
Dec 27, 2019
Merged

Conversation

ItsDoot
Copy link
Member

@ItsDoot ItsDoot commented Dec 18, 2019

No description provided.

@ItsDoot ItsDoot changed the title Small Fixes Part 1 - HumanEntity, SpongeUser, SpongeUserInventory, SpongeTab… Small Fixes Part 1 - HumanEntity, SpongeUserInventory, SpongeTab… Dec 18, 2019
@ItsDoot ItsDoot changed the title Small Fixes Part 1 - HumanEntity, SpongeUserInventory, SpongeTab… Small Fixes Part 1 - HumanEntity, SpongeUserInventory, SpongeTabList Dec 18, 2019
@@ -340,10 +341,11 @@ public void removeFromTabListDelayed(@Nullable final ServerPlayerEntity player,
if (delay == 0) {
removeTask.run();
} else {
SpongeImpl.getGame().getScheduler().createTaskBuilder()
SpongeImpl.getGame().getAsyncScheduler().submit(Task.builder()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be executed after an exact number of ticks, so can't use async here

@Zidane Zidane merged commit 8e2b904 into SpongePowered:api-8 Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants