tastybento
1d5057ec5a
Explicitly sets user for break blocks check.
...
The user was not being set. Also the ordering of event handling was
random because both listeners had the same priority.
Should fix:
https://github.com/BentoBoxWorld/BentoBox/issues/534
2019-02-11 07:39:03 -08:00
tastybento
28c89ff814
Revert "Explicitly set user for break blocks listener"
...
This reverts commit 5beeb97f99
.
2019-02-11 07:16:16 -08:00
Florian CUNY
bcb1a3ae24
Use 4 spaces instead of tabs in pom.xml
2019-02-11 14:12:59 +01:00
tastybento
9a3d4bef03
Handles setspawn better when a player owns the island
...
Island members were not being cleared from the island properly. It
should be done via IslandManager and not directly on the island object
because the island manager holds a number of ownership maps. Also the
player needs to have their island home locations cleared. Further, any
members of the island also need to be completely cleared from the
island.
Finally, as this is similar to unregistering the player from the island,
the event should be fired so that any addons know the island is no
longer owned and the owner no longer owns an island.
2019-02-10 22:04:05 -08:00
tastybento
564f60bab3
Fixes loading and setting of spawn island.
...
https://github.com/BentoBoxWorld/BentoBox/issues/523
When loading islands the spawn setting was not being checked so spawn
islands were not added to the spawn island map.
2019-02-10 22:00:50 -08:00
tastybento
ce0b9569ca
Corrected comment
2019-02-10 21:58:56 -08:00
tastybento
ac2e3596f7
Made admin unregister command confirmable.
...
Uses new canExecute API.
Also correctly removes any island members from the island.
2019-02-10 21:57:58 -08:00
tastybento
1dc56dfc4f
Removes runnable from approach.
...
This could cause problems with threads because runnable should not be
run like this (effectively async). It should only be run inside a Bukkit
scheduled task to run on the main thread.
2019-02-10 20:11:50 -08:00
tastybento
0cf0742c07
Remove code duplication.
2019-02-10 20:09:39 -08:00
tastybento
583311ce03
Merge branch 'develop' of https://github.com/BentoBoxWorld/bentobox.git into develop
2019-02-10 20:06:22 -08:00
tastybento
5beeb97f99
Explicitly set user for break blocks listener
...
Removed duplicate break blocks listener in
BlockInteractionListener.java. Why was it there? Am I missing something?
2019-02-10 20:06:13 -08:00
Florian CUNY
f0543bc85c
Fixed SafeSpotTeleport being way too spammy
...
https://github.com/BentoBoxWorld/BentoBox/issues/306#issuecomment-462190682
2019-02-11 00:47:26 +01:00
tastybento
04e4b2dbe5
Merge branch 'develop' of https://github.com/BentoBoxWorld/bentobox.git into develop
2019-02-10 15:36:46 -08:00
tastybento
8334de8cba
Fixes island pasting issue when pasting clipboard every tick.
...
https://github.com/BentoBoxWorld/BentoBox/issues/535
due to race conditions with task timers and incorrectly shared field
variables, islands would not paste completely if pasted every tick.
Now pasting is handled in its own class with a new instance created with
each paste.
2019-02-10 15:36:37 -08:00
Florian CUNY
4873d11ec3
Added Flags#BOAT
...
#387
2019-02-10 23:11:11 +01:00
Florian CUNY
a2607c913f
Fixed AdminDeleteCommand tests (oopsie)
2019-02-10 22:59:03 +01:00
Florian CUNY
c86fb35aac
Added Flags#MINECART
...
#387
2019-02-10 22:55:45 +01:00
Florian CUNY
865a1d0caa
Added BentoBoxCommand#canExecute(User, String, List<String>)
...
#530
2019-02-10 22:32:33 +01:00
Florian CUNY
0fd043df23
Partially fixed island owner losing inventory on /is team kick
...
Partially fixes #521 .
See https://github.com/BentoBoxWorld/BentoBox/issues/521#issuecomment-462128961 for reference.
2019-02-10 13:34:17 +01:00
Florian CUNY
f71ca4f084
Fixed likely NPE in IslandTeamKickCommand
2019-02-10 13:21:01 +01:00
Florian CUNY
890217939b
Added some more package-info.java
2019-02-10 13:14:40 +01:00
Florian CUNY
82e7093fbc
Added Flags#NATURAL_SPAWNING_OUTSIDE_RANGE
...
#513
2019-02-10 13:14:24 +01:00
tastybento
7a43c0b792
Merge pull request #533 from BONNe/develop
...
Correct Ender Dragon Block.
2019-02-09 20:39:05 -08:00
BONNe
9708d9d3ed
Correct Ender Dragon Block.
...
In Spigot (and Bukkit) the end exit portal frame and first dragon is generated after Ender Dragon Legacy check.
This check tries to find if in world exist Exit Portal, and if it does not find it, it generates everything from scratch.
So, to trick legacy check, it is enough to place 1 End Portal somewhere in (0.0) chunk, and portal will not be generated.
2019-02-10 01:28:51 +02:00
tastybento
7b612c102e
Revert "Adds method to obtain island via island unique id."
...
This reverts commit f64968c7c7
.
2019-02-09 08:26:55 -08:00
tastybento
46f39c3649
Merge branch 'develop' of https://github.com/BentoBoxWorld/bentobox.git into develop
2019-02-09 08:23:46 -08:00
tastybento
d17d19d5d3
Fixes horse and similar pasting from files
...
https://github.com/BentoBoxWorld/BentoBox/issues/532
2019-02-09 08:22:47 -08:00
Florian CUNY
b8afd1919f
Added Flags#TREES_GROWING_OUTSIDE_RANGE
...
#512
2019-02-09 11:39:12 +01:00
Florian CUNY
69ca910df4
Made LiquidsFlowingOutListener priority to LOWEST
2019-02-09 11:35:28 +01:00
Florian CUNY
c623e7c036
Documented Flags#EGGS
2019-02-09 09:54:32 +01:00
tastybento
f64968c7c7
Adds method to obtain island via island unique id.
2019-02-08 21:56:14 -08:00
Florian CUNY
af96055753
Added testHasNotPermissionButIsOp in UserTest
2019-02-08 21:25:40 +01:00
Florian CUNY
2bec47ba90
Made User#hasPermission(String) return true if the user is op
2019-02-08 21:17:57 +01:00
Florian CUNY
1e20ccb604
Added package-info.java to flag listeners packages
2019-02-08 20:56:53 +01:00
Florian CUNY
e3c8b0a4c1
Merge pull request #527 from YellowZaki/patch-1
...
Add island.team.promote permission
2019-02-08 13:26:28 +01:00
tastybento
f7f47e8f44
Defensive code around null worlds
...
When a world is not loaded it becomes null in Bukkit so that any
references to that world will be null. If an admin removes a game mode,
then the island data was instantly becoming useless and quarantined.
This change leaves the files as-is so that if the game mode is put back,
the world is still viable.
As for home locations that are stored in the Player object, they are
removed so they do not cause errors.
2019-02-07 19:18:46 -08:00
YellowZaki
c949239ed6
Add island.team.promote permission
2019-02-08 02:54:24 +01:00
tastybento
2599839fad
Shifted exception logging to logger.
...
These are really needed if you are writing an addon otherwise you are
blind to any reasons for an error.
2019-02-07 08:10:45 -08:00
Florian CUNY
da21aa8c00
Fixed feature request issue template
2019-02-07 17:08:14 +01:00
Florian CUNY
6db2deaff3
Improved feature request issue template
2019-02-07 13:46:02 +01:00
tastybento
0d723587e4
Adds addon name to log messages.
2019-02-06 17:39:44 -08:00
Florian CUNY
281d16c175
Added ability to reload BentoBox's configuration using /bbox reload
...
#370
2019-02-06 16:46:17 +01:00
Florian CUNY
ca2bb18a56
Improved javadoc and locale description for LIQUIDS_FLOWING_OUT
2019-02-06 16:17:58 +01:00
Florian CUNY
93deee7c13
Fixed code smells
2019-02-06 16:06:03 +01:00
Florian CUNY
7843bb0f0f
Updated jacoco-maven-plugin to 0.8.3
2019-02-06 15:59:56 +01:00
Florian CUNY
280f2e6c1c
Added server version to /bbox v output
...
#518
2019-02-06 15:46:21 +01:00
Florian CUNY
5118b30303
Made ServerCompatibility#getServerVersion() and #getServerSoftware() public
2019-02-06 15:45:53 +01:00
Florian CUNY
8786c3a879
Fixed /bbox v using [name] textvariable to display BentoBox's version instead of [version]
2019-02-06 15:28:09 +01:00
tastybento
93e95b42a0
Remove end exit island deletion
...
Reverts that part because it causes an endless loop of chunk reloading
and block placement.
2019-02-05 23:22:18 -08:00
tastybento
446028fbae
Revert "Reworks how dragons are removed."
...
This reverts commit af9de5580a
.
2019-02-05 22:54:48 -08:00