- The original plugin author updated InvisibleItemFrame to support 1.16.5 update and updated API version.
- Change the URL of the update message
- Test 1.19.1 The server runs stably
-----------------------------------------------------------------------------------------------------
- 原插件作者更新 InvisibleItemFrame 對 1.16.5 更新支持,更新 API 版本
- 更改更新訊息的網址
- 測試 1.19.1 伺服器穩定運行
Code (Java):
// remove
if
(
!
(event.
getEntityType
(
)
== EntityType.
ITEM_FRAME
)
&&
!
(event.
getEntityType
(
)
== EntityType.
GLOW_ITEM_FRAME
)
)
return
;
// add
if
(
!
(event.
getEntityType
(
).
name
(
).
contains
(
"ITEM_FRAME"
)
)
)
return
;