Comments (3)
they are dropped on the region post and die again from fall damage.
This shouldn't be happening, since they should have fall damage immunity at this time. Something is resetting this attribute (double damage)?
from populationdensity.
And the beer gets lumpy. Found the problem, and it is not in the plugin... So, respawn Y is set like this:
homeRegionCenter.setY(PopulationDensity.ManagedWorld
.getHighestBlockYAt(homeRegionCenter) + 2);
That is a nice simple solution for setting a Y for the top of the region post. Unfortunately, Y is coming back as the highest block that existed before a WorldEdit cut. So, even though there is nothing but air over the post, at one time there was a huge statue there that I "cut" with WorldEdit. For some reason, Spigot is returning the top of that statue as the Highest Y. Since the statue is actually gone, ahhhhhhh.... splat. I manually built a column above the post and broke it, and now Spigot knows there is nothing but air there. Happy days, no more screaming falling death loops. It was all a WorldEdit artifact.
Thanks for responding so quickly.
from populationdensity.
Ah ok. I kinda recalled that respawns shouldn't drop players in, but wasn't sure.
getHighestBlock
and getHighestBlockYAt
use light afaik to determine what the highest block is. This is why stuff like glass aren't reported as the highest block. So in this case, WorldEdit didn't update the lighting (though I'm going to assume that this is because of FAWE/AWE since they skip the bukkit API and place blocks directly via NMS, thus not triggering relighting).
from populationdensity.
Related Issues (20)
- Disable sign generation on posts
- Possible Bug: Bottom Block of Post is incorrect HOT 5
- Is there any way to shift regions/ region poles at all? HOT 1
- download latest version HOT 1
- /spawn sending players to region post instead of world's /setspawn HOT 2
- PopulationDensity breaks raid HOT 5
- crash -> dont start HOT 8
- 1 block below the post base is protected
- ThinOvercrowdedIronGolems config option reverts to default HOT 3
- Server hang on monster removal feature HOT 16
- Random crashes in 1.16.1 HOT 1
- Add option to auto-name regions with a lot of activity HOT 5
- Players being moved into unloaded chunks, and falling into the void HOT 3
- Only some users are able to teleport leashed/ridden animals with them HOT 3
- Player launch animation not working reliably.
- [1.16.4] Console Error on /HomeRegion run HOT 3
- command to show coordinates of the nearest pole HOT 5
- Priority in queue does not work HOT 4
- How to configure Login queue? HOT 5
- UPDATE HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from populationdensity.