Commit Graph

469 Commits

Author SHA1 Message Date
ceze88
2d55f3851c Revert chunk listener stuff 2023-04-13 17:07:57 +02:00
ceze88
3eeef59c5f Fix block stacking in creative, save stack after update 2023-04-10 17:17:44 +02:00
ceze88
a00b6fb7fe Readd method for compatibility reasons 2023-04-10 17:17:00 +02:00
ceze88
f2b9cbce3e Revert "Move ChunkLoadEvent to separate ChunkListener class"
This reverts commit f234cdd73e.
2023-04-10 17:14:37 +02:00
ceze88
e073cab322 Revert "Update holograms on chunk load to prevent missing holograms"
This reverts commit 4bf2d9b479.
2023-04-10 17:14:34 +02:00
ceze88
f234cdd73e Move ChunkLoadEvent to separate ChunkListener class 2023-04-07 22:43:31 +02:00
ceze88
4bf2d9b479 Update holograms on chunk load to prevent missing holograms 2023-04-07 22:03:04 +02:00
ceze88
bc25500bce Improve stacking task speed 2023-04-07 21:44:08 +02:00
ceze88
732062fb61 Fix NPE on plugin reload 2023-04-07 21:43:39 +02:00
ceze88
88a5df4fec Add softdepends to plugin.yml 2023-04-07 21:43:17 +02:00
ceze88
42451e708b Rewrite block stacking 2023-04-07 18:58:21 +02:00
ceze88
f51cc19c44 Fix block stack dupe/item liss 2023-04-05 22:05:14 +02:00
ceze88
a43230f3b1 Fix Block stacks giving one less block when destroyed 2023-04-05 11:57:17 +02:00
ceze88
673ae8fdc4 Add WOLF to loot tables 2023-04-01 15:59:24 +02:00
ceze88
818ecf3d9a Add BentoBox compatibility 2023-04-01 15:55:37 +02:00
ceze88
640db6e344 Fix entity stacking, looting 2023-03-29 21:21:00 +02:00
ceze88
f4811ae1df Wups 2023-02-22 10:30:59 +01:00
ceze88
1142fb0e6a Fix Stacking Task, fix loot tables for non stacked mobs. Add last player damage to mobs. Performance improvements. 2023-02-22 09:59:28 +01:00
ceze88
9f77b48974 Minor fix for loots 2023-02-17 16:33:28 +01:00
ceze88
d610f41d00 Fix slime/magma cube replication 2023-02-05 13:14:44 +01:00
ceze88
71baf3a7e8 Rewrite mob stacking, performance improvements 2023-02-04 14:48:13 +01:00
ceze88
21b7507801 Hotfix for SQLite and readd old MythicMobs compatibility 2023-01-25 23:20:44 +01:00
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