Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Entity Mob-cap memory leak

Open
#2,314 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
backend

Research direction

Start by reproducing the reported behavior on Paper with WorldGuard, WorldEdit, and per-player mob spawning enabled, then inspect the spawn-denial handling and mob-cap behavior. The issue does not name files or tests, so locate the relevant code and add a test for denied slime spawns. Done means denied spawns no longer consume mob-cap capacity, while allowed spawns still behave correctly.

Written by the indexing model from the issue text.

Description

status:pending type:bug
WorldEdit Version

worldedit-bukkit-7.4.6-beta-02.jar

WorldGuard Version

worldguard-bukkit-7.0.19.jar

Platform Version

Paper 26.3 157

Confirmations
  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description

Weird thing with mob caps

Expected Behavior

I have a Multiverse world for skyblock
I have deny spawns Slime
I have per player mob spawns

For some reason whenever a slime would spawn, it does not which is expected
however it increments the mob cap still then eventually I have mob cap and nothing ever spawns again

Reproduction Steps
  1. Log on to my server
  2. Teleport to skyblock
  3. Wait like 5 seconds
  4. Type /paper playermobcaps
  5. Observe full mob cap with no or few mobs spawned
Optional WorldGuard-Report

No response

Anything Else?

Discord ronon_omega

Dominant language
Java
Stars
938
Forks
675
Avg merge
22h 57m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EngineHub/WorldGuard

All issues in EngineHub/WorldGuard

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.