Commit Graph

447 Commits

Author SHA1 Message Date
ceze88
affd819146 Ignore rare errors for now 2023-01-25 15:53:48 +01:00
ceze88
efde51034d Fix memory leak 2023-01-25 15:50:41 +01:00
ceze88
f4a7eaac7a Fix ClassNotFoundException in older versions when dropping items 2023-01-21 16:15:24 +01:00
ceze88
1db481d1aa New looting system 2023-01-16 21:32:17 +01:00
ceze88
a69c8ad0c3 Performance fixes, fix Mythicmobs compatibility, MySQL/SQLite fixes 2023-01-02 13:38:58 +01:00
Christian Koop
e9b7eee57b
Fix NullPointerException in StackingTask
Kinda related to c6320cb141
2022-10-26 22:06:11 +02:00
Christian Koop
c6320cb141
Do entity collection in Bukkit's main thread for StackingTask
Paper-Spigot got more strict in 1.19.2 about calling
stuff async.

I do not know what the whole StackingTask does and
don't feel like cleaning it up completely is possible right now.

So I only moved the getEntities-calls to the main
thread and have the async task wait for it.
Not great but it fixed the bug.


SD-9374
SD-9377
SD-9392
SD-9401
2022-10-26 22:04:01 +02:00
ceze88
865e45010c New method to spawn stacked items 2022-09-19 20:26:08 +02:00
ceze88
8afc333442 Do not apply realistic weapon damage in creative 2022-09-19 19:45:08 +02:00
ceze88
2361c2800f Fix mob spawn [SD-9251]
Spawn mob correctly according to the docs
2022-08-28 20:02:13 +02:00
ceze88
5b62328bf2 Fix Jobs hook [SD-9268]
Add jobs exp before removing entity stack
2022-08-28 19:38:30 +02:00
ceze88
73b102619c Fix SQLite 2022-08-09 20:01:00 +02:00
ceze88
d533e86ac3 Fix MySQL 2022-08-07 16:39:49 +02:00
Christian Koop
dc54199fd6
Make call to #dropItemNaturally sync
SD-9217
2022-07-16 15:07:35 +02:00
HexedHero
e773b22ee4
Move null check into statement like other methods 2022-03-25 11:39:27 +00:00
Christian Koop
cba75610cf
Replaces deprecated NBTItem calls 2022-03-18 21:38:26 +01:00
Fernando Pettinelli
e9e052871e Updated to latest SongodaCore. 2021-12-22 19:11:16 -03:00
Fernando Pettinelli
e729c9455c Check if material is AIR. 2021-10-16 21:25:16 -03:00
Fernando Pettinelli
8d20e89a5f Clone entity velocity before removing the entity. 2021-10-16 21:23:36 -03:00
Fernando Pettinelli
97066bde92 Various fixes to database purging. 2021-10-16 21:22:38 -03:00
Brianna
9ef08cdebc Updated to use the new Lootables engine. 2021-06-13 18:30:54 -05:00
Brianna
8638d1a127 1.17 Support. 2021-06-13 10:40:46 -05:00
Brianna
888d47ea13 Added system to purge old and invalid data to minimize db size.. 2021-05-27 18:08:38 -05:00
Brianna
38d4877a80 MCMMO database support. 2021-05-27 15:57:41 -05:00
Brianna
0c62b24a71 Added some extra stuff to the XP update. 2021-05-27 14:36:34 -05:00
Brianna
5a25fa384f Updated Spawning system to use the version that is in core. 2021-05-27 14:21:57 -05:00
Brianna
5caf01368e Spawn XP correctly with whole stack deaths. 2021-05-27 14:13:43 -05:00
Brianna
80772e0bf7 Added the ability to prevent armor from dropping. 2021-05-27 09:37:51 -05:00
Brianna
6564cc520a Fixed an issue affecting 1.11 servers. 2021-05-27 09:37:05 -05:00
Brianna
51456230cf Don't take items in creative. 2021-05-21 15:52:33 -05:00
Brianna
e9e3cf119c Remove from database on removeall command. 2021-04-12 09:09:54 -05:00
Brianna
3105e22063 Added the ability to customize xp in lootables. 2021-04-07 11:24:10 -05:00
Brianna
b87f73589c Minor code clean up. 2021-03-05 08:09:02 -06:00
Brianna
b5ef30c629 Fixed an null pointer exception. 2021-03-02 09:22:25 -06:00
Brianna
651afb3844 Fixed an issue causing EXP not to drop for certain entities in 1.14- 2021-03-01 10:02:50 -06:00
Brianna
5767406c16 Fixed an issue causing held items to not drop correctly in 1.16.5. 2021-02-22 11:30:21 -06:00
Brianna
64dbf4665c Fixed compatibility issue with Jobs. 2021-02-22 10:17:18 -06:00
Fernando Pettinelli
cc8c616c5f Re-added the spawn reason set metadata. 2021-01-02 09:03:04 -03:00
Brianna
a540f04ded Fixed an issue affecting materials in 1.12. 2020-11-30 14:28:04 -06:00
Brianna
027722b9cc Added a hologram offset. 2020-11-30 13:56:38 -06:00
Brianna
601dcc1f09 Added a custom entity api with initial support for MythicMobs. 2020-10-26 12:41:56 -05:00
Brianna
9264013afc Increased the default serialized_entity field size. 2020-10-26 09:23:40 -05:00
Brianna
ff449d4dce Lets make this work with MySQL. 2020-10-19 13:26:18 -05:00
Brianna
dda9a47f01 Remove unused MySQL database file. 2020-10-19 13:23:39 -05:00
Brianna
cce2f5d71e Lets use the correct hologram config option for block stacking. 2020-10-12 12:10:45 -05:00
Brianna
e89e900bd2 Update pom.xml 2020-09-23 14:40:12 -05:00
Brianna
53c8cee1e9 Items now work with the remove all command. 2020-09-17 19:24:10 -05:00
Brianna
fae3383ab1 Make sure theres a stack to split before attempting. 2020-09-17 08:44:00 -05:00
Brianna
59b2b3e6b0 Added null check. 2020-09-17 08:43:42 -05:00
Brianna
e5d4ee26bd Fixed an issue with stacking spawners. 2020-09-09 13:35:24 -05:00