Commit Graph

2137 Commits

Author SHA1 Message Date
Joo200
6898ad8674 Fix ItemStack conversion for spigot compatibility 2024-06-22 15:08:10 +02:00
Lennart
7783e9ae3b
Fix ItemStack conversion on block place on MC 1.21 (#2093)
* Fix ItemStack conversion on block place

This issue is present in 1.21 because some materials do not convert 1:1 to item types.
This throws an exception in the ItemStack constructor.
Example: WALL_TORCH is a valid block but not a valid item, only TORCH is a valid item.

So, use the item in hand instead, creating a copy with quantity set to 1, for issueing the
use item event.

* Use ItemStack as-is.

Closes #2092.

---------

Co-authored-by: wizjany <wizjany@gmail.com>
2024-06-19 12:00:35 -04:00
Joo200
2bd426baf8 Update Materials.java with 1.21 tags and materials 2024-06-17 20:00:03 +02:00
wizjany
27f009594a
Fix compilation for MC 1.21. Nothing tested yet. 2024-06-16 21:48:35 -04:00
Joni Aromaa
ead1e1b77c
Fix checking bypass on initialize (#2082)
* Fix checking bypass on initialize

* Add SessionManager#createSession back as deprecated
2024-05-24 10:48:08 -04:00
aurora
8b7729e0e8
Fix silent flag for gameplay commands (#2081)
* Fix silent flag for gameplay commands

This issue has been fixed in CommandBook with
644803182e
but never in WorldGuard.

Co-authored-by: Wyatt Childers <DarkArc@users.noreply.github.com>

* codestyle
2024-05-23 13:05:29 -04:00
Joo200
d6ef5e9398 Remove adventure snapshot repository 2024-05-17 18:05:37 +02:00
wizjany
6f5501f7be
Bump to snapshot. 2024-05-14 18:14:06 -04:00
wizjany
d9424b1c71
Release 7.0.10. 2024-05-14 18:11:53 -04:00
aurora
65431c7df8 Fix fire placement by blocks when fire-spread is set to deny
Fixes #2070
2024-05-13 20:27:34 +02:00
Joo200
2f93b26be0 Update dependencies to 1.20.6 2024-05-03 19:57:10 +02:00
wizjany
6bbf49314d
Merge pull request #2075 from EngineHub/feature/1.20.5
Update WorldGuard to 1.20.5
2024-05-02 12:12:15 -04:00
Joo200
4ad11151fe Fix compilation for 1.20.5 2024-04-28 15:39:15 +02:00
Joo200
c29edf7467 Fix Deprecations from WorldEdit 7.3.0 2024-04-28 15:36:52 +02:00
Joo200
da3c81a88d Update dependencies to 1.20.5 and jdk 21 2024-04-28 15:32:32 +02:00
Joo200
c65dd83a7e Don't show particles for denied interact events with dripleaf and redstone ores 2024-04-07 22:04:00 +02:00
Joo200
694195435d Bump Versions 2024-04-07 22:02:57 +02:00
Madeline Miller
0d824d375b Add a Paper fast-path for DoubleChest#getLeftSide when possible 2024-03-31 12:28:53 -04:00
aromaa
c7319f10dc Bump up respawn event priority to monitor 2023-09-11 21:25:47 -04:00
Joo200
c2b95f59a8 Paper only: Protect sign modifications as building 2023-08-22 14:34:52 +02:00
Joo200
5fa6f2a858 Update paper-api and spigot-api dependencies to 1.20.1 2023-08-22 14:34:26 +02:00
wizjany
3201cee1b7
Bump to snapshot. 2023-07-31 20:12:56 -04:00
wizjany
16a3c85005
Release 7.0.9. 2023-07-31 20:11:06 -04:00
Joo200
5934e49489 Fix changed event for copper-fade flag 2023-07-30 18:34:12 +02:00
Joo200
58fbb6f008 Remove Support for 1.19 2023-07-30 18:20:02 +02:00
Joo200
fba8333de3 Fix backwards compatibility with 1.19.4 2023-06-21 22:20:42 +02:00
Madeline Miller
fffb0c1f98
Bump to snapshot 2023-06-16 21:01:49 +10:00
Madeline Miller
223b80c590
Release 7.0.9-beta1 2023-06-16 20:59:43 +10:00
Joo200
853631139d Update Protections to 1.20
* add new materials
* add protections for sniffer eggs
* add protection for signs
2023-06-16 09:50:37 +02:00
Joo200
c61e9f1fe0 Update Readme to use https and Java 17 2023-06-16 09:50:37 +02:00
Joo200
64ccda4615 deps: Update WorldEdit to 7.2.14 2023-06-16 09:50:37 +02:00
Joo200
16887c8540 deps: Update Paper to 1.20, snakeyml to 2.0 2023-06-16 09:50:37 +02:00
Joo200
2c448f1ba2 deps: Update gradle to 8.1.1 2023-06-16 09:50:37 +02:00
wizjany
c0cbe27efc
yaml ctors 2023-06-08 15:08:05 -04:00
Joo200
4a26e306b6 Consider the summon command as plugin spawning 2023-05-31 13:26:05 +02:00
wizjany
44d0735412
Bump to snapshot. 2023-05-27 13:41:49 -04:00
wizjany
33cdb4a6a8
Release 7.0.8 2023-05-27 13:39:01 -04:00
wizjany
feb548aa84
Check movement on AbstractHorse instead of Horse.
Not tested cuz I don't know how to enable camels, but in theory this should work for that.
2023-05-16 17:04:28 -04:00
wizjany
961461c23c
Protect against allay pickups and modification.
Closes #1923.
2023-05-16 17:02:19 -04:00
wizjany
ad6d5af592
Treat tameables with offline owners as unknown causes.
Paper-only.

Closes #1900.
2023-05-16 16:15:57 -04:00
wizjany
7ae7a04721
Make region wand act more like /rg info.
Addresses the part that #1534 and #1817 missed.
2023-05-16 15:25:52 -04:00
wizjany
40adfe9cef
Add dragon egg teleporting to build protection.
Closes #1977.
2023-05-16 14:22:47 -04:00
Joo200
78498491dd Remove timings for third-party session handlers
Reverted MR #1717
2023-04-09 21:27:13 -04:00
stonar96
ca636d20af
Fix NPE when non-player entities create new nether portals (#1995)
* Fix NPE when non-player entities create new nether portals

* Fix flag checking for portal create event

* Use failed load region set

* Clean up
2023-04-09 21:25:44 -04:00
Joo200
bddfbdd353 gradle: updated wrapper to gradle 8.0.2 2023-03-26 15:14:10 +02:00
JOO200
ece376a69e
Improve NPC handling in WorldGuard's listeners (#1988)
* fix: added more npc checks in listeners
* Do not listen to events from NPCs such as Citizens. Don't handle NPCs as players.
* replaced hasMetaData calls by Entities utilities class
2023-03-23 18:58:48 +01:00
wizjany
1e81a91d4d
Bump squirrelid, remove workaround. 2023-03-23 11:47:02 -04:00
JOO200
216f95f87c
Merge pull request #1989 from EngineHub/feature/copper-fade-flag
Add copper-fade flag to WorldGuard
2023-03-23 15:05:53 +01:00
JOO200
ca6e228f61
Merge pull request #1973 from EngineHub/feat/datapackreport
Add DataPack Report to track active DataPacks
2023-03-23 14:53:06 +01:00
Joo200
fd1cb1e4bd flags: added copper-fade flag to prevent oxidizing copper 2023-03-19 16:56:46 +01:00