Skip to content

Commit

Permalink
feat(python): update python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Sep 30, 2024
1 parent 22e3a74 commit 41b5914
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/endstone/_internal/endstone_python.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,7 @@ class Permissible:
"""
Recalculates the permissions.
"""
def remove_attachment(self, attachment: PermissionAttachment) -> bool:
def remove_attachment(self, attachment: PermissionAttachment) -> None:
"""
Removes a given PermissionAttachment.
"""
Expand Down
1 change: 1 addition & 0 deletions src/endstone_python/boss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "endstone/boss/bar_flag.h"
#include "endstone/boss/bar_style.h"
#include "endstone/boss/boss_bar.h"
#include "endstone/detail/pybind_type_caster.h"
#include "endstone/player.h"

namespace py = pybind11;
Expand Down
1 change: 1 addition & 0 deletions src/endstone_python/permissions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

#include "endstone/detail/pybind_type_caster.h"
#include "endstone/permissions/permissible.h"
#include "endstone/permissions/permission.h"
#include "endstone/permissions/permission_attachment.h"
Expand Down

0 comments on commit 41b5914

Please sign in to comment.