Commit Graph

1958 Commits

Author SHA1 Message Date
dordsor21
a807b98f07
Ensure sign isn't physicsed 2022-03-02 17:48:44 +00:00
dordsor21
3dbbbc698e Fix "security" issue that was already present 2022-03-02 16:35:05 +01:00
dordsor21
5c0e538231 Address comments 2022-03-02 16:35:05 +01:00
dordsor21
db963ffc61 Remove debug 2022-03-02 16:35:05 +01:00
dordsor21
7343319fe6 Don't allow players to modify outside build height when using plot set / schematics.
- Also fixes schematic height issues
2022-03-02 16:35:05 +01:00
dordsor21
dc6d0e089f Fix min -> max 2022-03-02 16:35:05 +01:00
dordsor21
bbe31379e8 Use version min/max heights if world not present in QueueCoordinator 2022-03-02 16:35:05 +01:00
dordsor21
7c48fe198d Layer index utility method in LocalChunk 2022-03-02 16:35:05 +01:00
dordsor21
c5ff743c9e y index utility method in ChunknQueueCoordinator 2022-03-02 16:35:05 +01:00
dordsor21
fc93156362 Don't overly extend height when regenerating road region 2022-03-02 16:35:05 +01:00
dordsor21
c875487173 Improve plot getVolume method readability 2022-03-02 16:35:05 +01:00
dordsor21
a100f497b5 Add note on schem y normalisation 2022-03-02 16:35:05 +01:00
dordsor21
99fa3f403e min gen height is set in PlotArea 2022-03-02 16:35:05 +01:00
dordsor21
be417ae954 Start generation at min gen height if bedrock is disabled 2022-03-02 16:35:05 +01:00
dordsor21
0e4c87fb8f Clean up ClassicPlotManager road creation/removal 2022-03-02 16:35:05 +01:00
dordsor21
a233bfe111 Add utility methods for world height in QueueCoordinator 2022-03-02 16:35:05 +01:00
dordsor21
8e9a142be8 Correct height in HybridUtils, also use minGenHeight + 1 2022-03-02 16:35:05 +01:00
dordsor21
ae3b86ed53 Use minGenHeight + 1 rather than build height in AugmentedUtils 2022-03-02 16:35:05 +01:00
dordsor21
c8327bfa40 Address some deprecations for regions and biome setting 2022-03-02 16:35:05 +01:00
dordsor21
c4db968830 Use world min/max heights if present in QueueCoordinator 2022-03-02 16:35:05 +01:00
dordsor21
852c180bbd Javadocs/comments/deprecation 2022-03-02 16:35:05 +01:00
dordsor21
e45b2ba288 Address inclusivity issues for max world height 2022-03-02 16:35:05 +01:00
Jordan
f45fb8fd6f Better javadoc
Co-authored-by: Hannes Greule <SirYwell@users.noreply.github.com>
2022-03-02 16:35:05 +01:00
dordsor21
b630baef55 Fix offset for min build height in SchematicHandler 2022-03-02 16:35:05 +01:00
dordsor21
f369ccb30e Address comments 2022-03-02 16:35:05 +01:00
dordsor21
026e3fc17e Process chunks in order when regenerating all roads 2022-03-02 16:35:05 +01:00
dordsor21
b9f6f9b2b8 Overhall regenallroads method to make it work, make sure BukkitChunkCoordinator can/will finish 2022-03-02 16:35:05 +01:00
dordsor21
a12fe280db Fix incorrect schematic paste height, undo changes to HybridUtils 2022-03-02 16:35:05 +01:00
dordsor21
ff60ad1e24 Minor fixes, don't overlay error many times for the same y 2022-03-02 16:35:05 +01:00
dordsor21
7d15cc3ba3 Make road schematic stuff slightly more efficient by sharing queues 2022-03-02 16:35:05 +01:00
dordsor21
4367be9ad0 Address comments 2022-03-02 16:35:05 +01:00
dordsor21
9f4bdaef40 Fix up queues 2022-03-02 16:35:05 +01:00
dordsor21
0d468505bb Few fixes 2022-03-02 16:35:05 +01:00
dordsor21
fae95b758a Default gen/build heights based on minecraft version 2022-03-02 16:35:05 +01:00
dordsor21
f7dd0c1d38 Add min gen height to setup, 2022-03-02 16:35:05 +01:00
dordsor21
80c39ec79a Implement extended world heights into core module 2022-03-02 16:35:05 +01:00
dordsor21
f1d9d4bdc7 Begin to implement extended world heights:
- Implemented in Bukkit module (and where required in Core module)
2022-03-02 16:35:05 +01:00
Hannes Greule
75f31c5bf6
Replace delombok-ed equals and hashCode methods (#3518)
* regenerate leftover delombok-ed equals and hashCode methods

* delegate to hashCode directly instead of single parameter calls
2022-02-27 18:51:37 +01:00
NotMyFault
78125ff1e2
build: Release 6.5.0 2022-02-10 12:32:02 +01:00
Alex
d7c8715b25
Don't open the component GUI if the actor has no permission for a specific preset (#3496)
* fix: Handle an empty component GUI gracefully

* Address comments
2022-02-10 12:19:35 +01:00
Alex
34f005c244
Restore ability to use PlaceholderAPI in greeting and farewell flag (#3489)
Fixes #3465
2022-02-10 12:11:39 +01:00
Alex
6fbd1376ca
Don't enable presets with prices if economy is disabled (#3497) 2022-02-10 12:10:47 +01:00
Pierre Maurice Schwang
951767dc64
fix: synchronize confirmExpiry (#3481)
Prevents that the MetaDataAccess is closed before setting the data
2022-02-08 15:57:09 +01:00
Pierre Maurice Schwang
16928b05f1
Display "/plot help" categories only, if the player has permission to access these commands (#3490)
* feat: only show categories with access in help-menu

* chore: cleanup imports

* feat: tab complete should respect category permissions as well

* chore: cleanup imports again

* chore: rename ambiguous method name and update access modifier
2022-02-08 15:56:29 +01:00
Pierre Maurice Schwang
543284e016
fix: NPE on unavailable music discs on lower versions (#3475)
* fix: NPE on unavailable music discs

* chore: documentation for InventoryUtil changes

* fix: no need for additional decrement

* chore: address requested changes

* fix: prevent binary mismatch

Co-authored-by: Alex <mc.cache@web.de>
2022-02-04 18:21:43 +01:00
NotMyFault
9ba2b62fc2
[ci skip] style: Restore GlobalFlagContainer's entry list being sorted alphabetically
Mostly helps me when updating the wiki
2022-01-31 15:50:44 +01:00
Hannes Greule
d06a827e31
Always call plot events through the event dispatcher (#3479) 2022-01-29 13:12:00 +01:00
Alex
10bb520f3a
docs: Switch to generated wiki (#3482) 2022-01-29 00:12:54 +01:00
NotMyFault
ac71046feb
build: Release 6.4.0 2022-01-27 13:49:17 +01:00
Alex
5ab410a5c5
fix: Don't ommit flag int input in no permission message (#3466) 2022-01-27 12:14:39 +01:00