File tree Expand file tree Collapse file tree 7 files changed +10
-6
lines changed
Expand file tree Collapse file tree 7 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ execute_process(
2626find_package (Python COMPONENTS Interpreter Development.Module REQUIRED)
2727find_package (pybind11 CONFIG REQUIRED)
2828
29- pybind11_add_module(_${PROJECT_NAME} endstone_papi/_papi .cpp)
29+ pybind11_add_module(_${PROJECT_NAME} endstone_papi/pypapi .cpp)
3030target_include_directories (_${PROJECT_NAME} PRIVATE include )
3131target_link_libraries (_${PROJECT_NAME} PRIVATE endstone::endstone)
3232install (TARGETS _papi DESTINATION "endstone_papi" COMPONENT python)
Original file line number Diff line number Diff line change 1- from ._service import PlaceholderAPI
2- from ._plugin import PlaceholderAPIPlugin
1+ from .pypapi import PlaceholderAPI
2+ from .plugin import PlaceholderAPIPlugin
33
44__all__ = ["PlaceholderAPI" , "PlaceholderAPIPlugin" ]
File renamed without changes.
Original file line number Diff line number Diff line change 11from endstone .plugin import Plugin , ServicePriority
22
3- from ._service import PlaceholderAPI
3+ from .pypapi import PlaceholderAPI
44
55
66class PlaceholderAPIPlugin (Plugin ):
77 api_version = "0.6"
88
9+ commands = {
10+
11+ }
12+
913 def __init__ (self ):
1014 super ().__init__ ()
1115 self ._api = PlaceholderAPI ()
File renamed without changes.
Original file line number Diff line number Diff line change 22
33from typing import Callable
44from endstone .plugin import Plugin
5- from ._papi import PlaceholderAPI as _PlaceholderAPI
5+ from .pypapi import PlaceholderAPI as _PlaceholderAPI
66from endstone import Player
7- from ._chars_replacer import apply
7+ from .chars_replacer import apply
88
99
1010class PlaceholderAPI (_PlaceholderAPI ):
File renamed without changes.
You can’t perform that action at this time.
0 commit comments