-
Notifications
You must be signed in to change notification settings - Fork 128
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
feat(world & server): Implement Spawn Limit API #909
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
src/main/java/be/seeseemelk/mockbukkit/configuration/ServerConfiguration.java
Show resolved
Hide resolved
// TODO Auto-generated method stub | ||
throw new UnimplementedOperationException(); | ||
Preconditions.checkArgument(spawnCategory != null, "SpawnCategory cannot be null"); | ||
Preconditions.checkArgument(spawnCategory != SpawnCategory.MISC, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check does not consider if a new spawn limit has been implemented in paper. It would be good if something like an UnimplementedOperationException gets thrown whenever that is the case.
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
* fix playerlist hasplayedbefore (#944) * Implemented more methods in SkullMetaMock and PotionEffectType (#945) * Implemented more functions in SkullMetaMock * Implemented createEffect in PotionEffectType * fix merge conflicts * Requested changes * feat(entities): Implement Rest of Chicken Methods (#925) Co-authored-by: Thorinwasher <37477983+Thorinwasher@users.noreply.github.com> * chore(stubbing): Add method stubs for visual Blockdata API in TNTPrimed (#950) * chore(stubbing): Stub Paper Methods (#951) * Implement getOfflinePlayerIfCached with tests (#947) * Implement getOfflinePlayerIfCached with tests * Fix formatting * Fix more formatting * Adds Mocks for both Boat and ChestBoat (#851) * Adds Mocks for both Boat and ChestBoat * chore(boats): Implement Changes * feat(entities): Remove Loottable API from Chestboat and add getType * Fix formatting --------- Co-authored-by: Thorinwasher <ragnarlol96@gmail.com> Co-authored-by: Thorinwasher <37477983+Thorinwasher@users.noreply.github.com> * chore(deps): update dependency gradle to v8.6 (#954) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.10.2 (#955) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Add PigZombieMock (#957) * add PigZombieMock * fix paper implementation && added descriptive names * update unit tests * remove field unused * Fix WorkbenchInventoryMock#setMatrix (#960) * chore(deps): update gradle/wrapper-validation-action action to v2 (#952) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-java action to v4 (#915) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/cache action to v4 (#948) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(world & server): Implement Spawn Limit API (#909) * feat(world & server): Implement Spawn Limit API * Fix merge issues --------- Co-authored-by: Thorinwasher <ragnarlol96@gmail.com> * Fix merge issues --------- Co-authored-by: J3fftw <44972470+J3fftw1@users.noreply.github.com> Co-authored-by: thelooter <evekolb2204@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nirbose <62440475+Nirbose@users.noreply.github.com>
Description
Implements the Spawn Limits API
Checklist
The following items should be checked before the pull request can be merged.