Alexander Krivács Schrøder
d106262454
Have PlotAreas create their own PlotManager
...
Leads to cleaner code, less need for instanceof and casting, as a PlotArea knows which kind of PlotManager it needs to make
2019-06-03 16:26:20 -04:00
Alexander Krivács Schrøder
c5bca66618
Remove PlotArea parameter from PlotManager method calls
...
As per the previous commit, all PlotManagers now have a reference to their managed PlotArea.
2019-06-03 16:26:20 -04:00
Alexander Krivács Schrøder
6b3960fc3f
Pass the PlotArea into the PlotManager
2019-06-03 16:26:20 -04:00
Alexander Krivács Schrøder
908a5784a1
Cache conversions to BaseBlock and fix leaky abstraction
2019-06-03 16:24:59 -04:00
Alexander Krivács Schrøder
bbff898073
Extract air block into variable to reduce unnecessary function calls
2019-06-03 16:24:59 -04:00
Alexander Krivács Schrøder
19f8704cb4
Remove leftovers from getting rid of PlotBlocks in LocalChunk
2019-06-03 16:24:59 -04:00
Alexander Krivács Schrøder
b366b0d261
Set unspecified blocks from the schematic to air
...
If this isn't done, any blocks not specified in the schematic will remain after a clear, which is obviously undesirable.
2019-06-03 16:24:59 -04:00
Alexander Krivács Schrøder
941821e453
Convert all PlotBlocks to BaseBlocks in the BasicLocalBlockQueue
...
The `BukkitLocalQueue` only supports using one of the sets (the removed `baseBlocks` variable in `BasicLocalBlockQueue` was the deciding factor for which one won out) which led to issues with missing blocks when trying to use both types at the same time, such as in the `HybridPlotManager`s `clearPlot` method, where `PlotBlock` is used to fill in the various layers, while the`createSchemAbs` method uses `BaseBlock` for its data.
2019-06-03 16:24:59 -04:00
MattBDev
475e9b50e1
Fixes #2380
2019-05-31 12:00:44 -04:00
MattBDev
812d41092e
Merge branch 'breaking' of https://github.com/IntellectualSites/PlotSquared into breaking
2019-05-31 11:57:18 -04:00
Alexander Krivács Schrøder
41299e6851
Fix issue with plot border during merge
...
* `getExtendedTopAbs()` used wrong relative plot for calculating X position.
* Not running `finishPlotMerge()` after every merge led to broken roads during a `merge all`
2019-05-29 23:28:16 -04:00
Alexander Krivács Schrøder
95cb0d84f0
Fix issue with road generation during unlink
...
Roads should always be created with respect to `current`.
2019-05-29 23:28:16 -04:00
zombachu
fb478de164
Update outdated list of files to check on failed world load ( #2365 )
2019-05-22 12:09:31 -04:00
MattBDev
1bd7c8ca5f
Variable renames
2019-05-21 18:50:52 -04:00
MattBDev
fe471c3571
new library in gradle and another change I can't remember.
2019-05-21 18:32:26 -04:00
MattBDev
8ff833de36
Added Paper to Platform
2019-05-17 18:50:24 -04:00
MattBDev
5dd2610b5e
Misc. changes and removal of title manager
2019-05-17 18:49:09 -04:00
MattBDev
4e3a927323
Modifications to the generator code
2019-05-17 16:21:03 -04:00
MattBDev
595a68ecba
variable renames
2019-05-17 15:32:05 -04:00
MattBDev
6f5cb30734
Minor message changes and variable changes
2019-05-17 14:38:57 -04:00
MattBDev
b66734a472
Misc. code changes
...
A lot of renaming
Some formatting
Narrowed scope of variables
Added annotations
2019-05-13 21:57:41 -04:00
MattBDev
adefe2eeef
Titles can be used on Spigot and Paper now
2019-05-13 18:20:58 -04:00
MattBDev
a841b4ea86
Titles are now exclusive to paper servers
2019-05-10 22:42:07 -04:00
MattBDev
f232334bcc
Various formatting tweaks as well as metrics changes.
2019-05-10 21:18:28 -04:00
dordsor21
885d1b9d7e
Merge branch 'breaking' of https://github.com/IntellectualSites/PlotSquared into breaking
2019-05-05 16:56:14 +01:00
dordsor21
f6e492638d
Bad temporary fix for #2345 - just don't use BukkitLocalQueue#regenChunkSafe and that on 1.14 :) (:
2019-05-05 16:56:00 +01:00
dordsor21
46beb90112
Correcter versioning
2019-05-05 11:58:45 +01:00
dordsor21
0a6fad73c3
Correct versioning
2019-05-05 11:56:08 +01:00
dordsor21
eb9d98d289
Use https://www.athion.net/ISPaster/paste
2019-05-01 19:52:26 +01:00
MattBDev
2ec13e4e76
Replace code with hasFlag() where appropriate.
2019-05-01 12:31:50 -04:00
MattBDev
db6115eae5
Documentation and formatting changes
2019-04-29 15:20:52 -04:00
MattBDev
9e324762b6
Move the update utility setup to it's own method
2019-04-29 15:18:38 -04:00
MattBDev
237b10a2a2
Tidying up the code
2019-04-29 10:49:58 -04:00
dordsor21
bef3dbc6f4
Reformat code
2019-04-23 23:48:22 +01:00
dordsor21
d352804b5d
Update gradle lombok version for core
2019-04-23 23:47:00 +01:00
dordsor21
c7ba94f959
Fix legacy material loading error and Jenkins4J dependencies
2019-04-23 23:03:52 +01:00
dordsor21
5ac00c4920
downgrade Jenkins4J
2019-04-23 22:41:06 +01:00
dordsor21
1e97392244
Update to gradle 5.4
2019-04-23 22:27:32 +01:00
Jesse Boyd
0c0a696d36
Merge branch 'breaking' of https://github.com/IntellectualSites/PlotSquared into breaking
2019-04-23 12:57:46 +10:00
Jesse Boyd
21a5b04b7b
remove debug
2019-04-23 12:57:39 +10:00
MattBDev
ef8d33db41
Minor command changes
...
Changed RequiredType in some classes and formatting changed in others.
2019-04-22 11:55:05 -04:00
MattBDev
f5fa15080c
Minor javadoc updates
2019-04-22 11:45:23 -04:00
Jesse Boyd
ea26ec628d
Use Settings.Teleport.ON_LOGIN
2019-04-19 13:02:50 +10:00
Jesse Boyd
815e513093
Fix teleportOnLogin error
2019-04-19 12:53:48 +10:00
Jesse Boyd
8ac23b92d8
Use UUID, not just name
2019-04-17 22:18:03 +10:00
Jesse Boyd
d31dbc7c7c
Fix debugimportworlds 1.13
...
because someone changed PlotId.fromString to throw an exception without updating things that call it
2019-04-17 22:07:33 +10:00
Jesse Boyd
000e3de35d
Don't allow importing using base directory
2019-04-17 14:36:31 +10:00
Jesse Boyd
7e63ffe745
Optimize vanilla world generation*
...
*For single plot worlds
Reuse base world data. Instead of taking several seconds, it should now take tens of milliseconds.
2019-04-17 14:30:05 +10:00
Jesse Boyd
0fdc5eafbd
Allow single plot areas to load survival worlds
2019-04-17 13:46:33 +10:00
Jesse Boyd
59f89980a3
Don't need ratio out of 100 anymore
2019-04-17 13:13:56 +10:00