fix: Update FabricEventDispatcher, bump to 4.5.5

This commit is contained in:
William committed 2023-12-27 17:40:30 +00:00
1 parent d519014cce
commit 1ddd107631
2 files changed
+7 -5

No files matched your search

@@ -93,8 +93,9 @@ public interface FabricEventDispatcher extends EventDispatcher {
} }
@Override @Override
default @NotNull IHomeEditEvent getHomeEditEvent(@NotNull Home home, @NotNull CommandUser editor) { default @NotNull IHomeEditEvent getHomeEditEvent(@NotNull Home home, @NotNull Home original,
return HomeEditCallback.SUPPLIER.apply(home, editor); @NotNull CommandUser editor) {
return HomeEditCallback.SUPPLIER.apply(home, original, editor);
} }
@Override @Override
@@ -109,8 +110,9 @@ public interface FabricEventDispatcher extends EventDispatcher {
} }
@Override @Override
default @NotNull IWarpEditEvent getWarpEditEvent(@NotNull Warp warp, @NotNull CommandUser editor) { default @NotNull IWarpEditEvent getWarpEditEvent(@NotNull Warp warp, @NotNull Warp original,
return WarpEditCallback.SUPPLIER.apply(warp, editor); @NotNull CommandUser editor) {
return WarpEditCallback.SUPPLIER.apply(warp, original, editor);
} }
@Override @Override
+1 -1
View File
@@ -3,7 +3,7 @@ javaVersion=16
org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.jvmargs='-Dfile.encoding=UTF-8'
org.gradle.daemon=true org.gradle.daemon=true
plugin_version=4.5.4 plugin_version=4.5.5
plugin_archive=huskhomes plugin_archive=huskhomes
plugin_description=The powerful and intuitive homes, warps, and teleports plugin/mod plugin_description=The powerful and intuitive homes, warps, and teleports plugin/mod