Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Add FakePlayer API#178

Merged
TheGlitch76 merged 13 commits intoPatchworkMC:masterfrom
williambl:feature/fakeplayer
Aug 18, 2020
Merged

Add FakePlayer API#178
TheGlitch76 merged 13 commits intoPatchworkMC:masterfrom
williambl:feature/fakeplayer

Conversation

@williambl
Copy link
Member

Based off #77. Notable changes:

  • now in its own patchwork-fake-players module
  • has some changes to FakePlayerFactory to make the code nicer
  • now uses fabric-lifecycle-events-v1 instead of fabric-events-lifecycle-v0

qouteall and others added 11 commits June 6, 2020 16:03
 - Make some private static fields final
 - Remove an explicit generic type that was inferrable
 - Simplify logic in `unloadWorld` to mirror the logic in `getMinecraft`
 - Add javadoc for `unloadWorld`
 - username -> profile (shouldn't break anything)
 - switch to using computeIfAbsent
Copy link
Member

@TheGlitch76 TheGlitch76 left a comment

Choose a reason for hiding this comment

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

Looks good, just need to commit a couple small fixes myself and this will be merged.
Thanks for this!

@TheGlitch76 TheGlitch76 merged commit 547331d into PatchworkMC:master Aug 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants