dordsor21
55fc963673
5.10.6
2020-05-09 13:19:29 +01:00
Hannes Greule
5a2f70238a
Typo
2020-05-06 12:53:27 +01:00
Hannes Greule
8257b0b563
No lazy init when calling toString,equals or hashCode
...
That prevents premature initialization as NullBlockCategory
2020-05-06 12:53:27 +01:00
Hannes Greule
9b997d2195
Make constructor private
2020-05-06 12:53:27 +01:00
Hannes Greule
a19fa1b92c
Send a debug message if category not found
2020-05-06 12:53:27 +01:00
Hannes Greule
2c060db9c0
Lazily initialize block tags
2020-05-06 12:53:27 +01:00
dordsor21
a8621a15ad
Override setblock setting Pattern in ChunkBlockQueue
...
> Should stop NPE during plot analysis
> Without overriding this method, DelegateLocalBlockQueue setblock Pattern is called
> DelegateLocalBlockQueue's setblocks use parent.setBlock, but we set that to null in ChunkBlockQueue
> ChunkBlockQueue is simply just to cache the values from generation to use in analysis
> Therefore there is no need to setblocks in any other Queue implementation
2020-05-06 12:53:16 +01:00
dordsor21
179e9e1e74
Clean up plot grants and plot auto
...
- Correct maths for calculating granted plots, etc etc
- Don't check if the player has the correct number of plots AGAIN on AutoClaimFinishTask. That's dumb.
2020-05-06 11:39:34 +01:00
dordsor21
df5feff9ec
Display the correct number of grants used in auto
2020-05-05 13:50:29 +01:00
dordsor21
9226aaff1f
In the interest of debug should show everything, add debug when registering an unknown flag.
2020-05-05 12:57:14 +01:00
dordsor21
afe874a59b
try-catch for NPE in purge and fail gracefully if the world is null
...
Plausible scenario since purge is often run to remove plots in the DB from removed worlds
Shouls fix #2806
2020-05-05 11:12:39 +01:00
N0tMyFaultOG
4ad9f12d5d
Move plot version to debugpaste top
2020-05-04 23:58:01 +02:00
dordsor21
228c37815a
Fix merge all
...
Fixes #2804
2020-05-04 17:15:53 +01:00
Alexander Söderberg
a37ab10414
Don't send chat spy to message sender
2020-05-03 18:13:54 +02:00
dordsor21
d73dbf0c81
5.10.5
2020-05-02 13:34:04 +01:00
dordsor21
daee26681a
use strings for spawn reasons to be safe
2020-05-02 12:13:00 +01:00
dordsor21
729469e030
Add config options for all paper events.
2020-05-02 11:58:32 +01:00
dordsor21
c6dc9ee189
Add some more listeners
...
- Also use setShouldAbortSpawn so it doesn't just try forever
- Add config to enable or disable all paper listeners
2020-05-02 11:58:32 +01:00
dordsor21
85a75ad868
Yeet that PaperSPiGoT out of here
2020-05-02 11:58:32 +01:00
dordsor21
8ec8b8d803
Add some paper-specific listeners
2020-05-02 11:58:32 +01:00
MeFisto94
d864792d09
Fixes #2800 Allow to wrap OfflinePlayers in 1.15.2
2020-05-02 11:28:06 +01:00
dordsor21
ed2e9a80ed
Fix rare bug where if the plot size was less than 15 and the chunk contained an entire plot, it would generate incorrectly
2020-05-01 20:30:59 +01:00
dordsor21
36948ed351
Move world settings dump to a better location (where all of the fields will actually have been set)
2020-05-01 20:29:35 +01:00
dordsor21
e06429f3b0
Correct world types given to player
2020-05-01 19:18:11 +01:00
MattBDev
fd4a9a16de
Execute commands when clicked for expire messages
2020-05-01 13:34:43 -04:00
NotMyFault
acba10ac09
Fix broken url
2020-05-01 17:00:55 +02:00
dordsor21
d6d49e0912
Show suffix in versionString() too
2020-05-01 15:56:35 +01:00
dordsor21
b5de5f30ac
Allow suffixes to the version
...
- Useful for "PlotSquared-5.10.4-SNAPSHOT" etc
2020-05-01 15:53:40 +01:00
dordsor21
17698065a0
Add extra SpawnReasons to spawn listener
2020-04-30 17:00:35 +01:00
Alexander Söderberg
135c6f2c15
Send a less obnoxious message if the flag name length exceeds the maximum allowed length
2020-04-30 13:36:03 +02:00
dordsor21
a263fe2f2d
Apparently we need to recover from bad flags
2020-04-30 12:15:42 +01:00
dordsor21
cbe46539ca
Pick up the rest of the reformating
2020-04-30 11:53:07 +01:00
dordsor21
5e842f1572
Force flag names to be 64 characters or less
...
- A few people seem to be on interesting SQL installs. This should fix the issues they have with 767 bytes,
2020-04-30 11:52:39 +01:00
dordsor21
b56d4d0fea
Merge branch 'reformat' into v5
2020-04-30 11:39:02 +01:00
dordsor21
42106bb97a
I didn't get everything first time
2020-04-30 11:33:59 +01:00
dordsor21
e7216d4aef
Merge branch 'v5' into reformat
2020-04-30 11:33:31 +01:00
dordsor21
0751e9cea3
Make LiquidFlowFlag an enum
2020-04-30 11:18:28 +01:00
dordsor21
0091580ae0
Reformat it all.
2020-04-30 11:01:52 +01:00
dordsor21
4a16f9c1a7
LiquidFlow true will override BlockPhysics false
2020-04-30 10:59:43 +01:00
N0tMyFaultOG
894d673c90
Fix tests
2020-04-30 11:32:50 +02:00
dordsor21
577fe3037f
Update checker improvements and 5.10.4
...
- Add config option to disable poll once it's found an update (true by default)
- Better PlotVersion stuff can now detect if you're using a later version than the spigot API, and not tell you about it
2020-04-30 10:17:19 +01:00
NotMyFault
53ca62e8fc
Bump version
2020-04-29 22:06:23 +02:00
NotMyFault
670f6d9f8b
Fix coral-dry flag not respecting horn coral blocks
2020-04-29 21:55:55 +02:00
dordsor21
8a21334e66
Merge branch 'v5' of https://github.com/IntellectualSites/PlotSquared into v5
2020-04-28 11:21:51 +01:00
dordsor21
a130d801d5
schem.intellectualsites.com (just forwards to athion.net but cnamed)
2020-04-28 11:21:30 +01:00
N0tMyFaultOG
51b6f41eff
Update papi hook message
2020-04-25 23:54:30 +02:00
N0tMyFaultOG
a829799b36
Update scripting message
2020-04-25 23:53:46 +02:00
dordsor21
ccb43d0661
Do placeholders better.
...
- Still allow parsing of placeholder if no plot is required and plot is null.
- Properly check if the player is null before getting the plot, and if the plot is null
- These were still issues before my initial "fix" city
2020-04-23 14:16:06 +01:00
Hannes Greule
5bd53436df
Prevent NPE for report comments
2020-04-23 13:44:34 +01:00
dordsor21
caa4a08b26
getOfflinePlayer once
2020-04-23 09:21:52 +01:00