-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Currently XML spawners have a spawner-region and a player-region. If a player is within the player-region the spawner is supposed to spawn an item/splash potion within the spawn-region. Currently however PGM seemingly fails to detect players having entered the player-region until they move an additional block in any direction, even one out of the region. Three video examples of this behaviour are below and testing on both a localhost running the current latest PGM version and OCC's mapdev server result in the same behaviour.
Example 1, the player region in this example is a 1x1 rectangle, which makes Y level irrelevant to the player being inside. Despite that though jumping within it allows the spawner to activate as the player has moved a block vertically, and it stays activated once the player lands as they are still within the region.
Example 2, the player region in this example is a 3x3 cuboid around the central pressure plate. Walking from one block within the region to another block within the region causes the spawner to detect the player and then activate itself. Jumping also functions like example 1. Exiting the region causes the spawner to properly deactivate itself however.
Example 3, same as example 1 but with item spawners instead of splash potion spawners to demonstrate it occurs with both.