Skip to content

Commit

Permalink
misc: 禁用ItemDisplay伪装、不要把fallbackProvider纳入fm manage的补全列表中
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Sep 24, 2023
1 parent 53ff32f commit 14d8cb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/xiamomc/morph/MorphManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private void load()
registerProviders(ObjectList.of(
new VanillaDisguiseProvider(),
new PlayerDisguiseProvider(),
new ItemDisplayProvider(),
//new ItemDisplayProvider(),
//new LocalDisguiseProvider(),
fallbackProvider
));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ else if (args.size() == 2) //size == 2: 补全生物和玩家

for (var p : MorphManager.getProviders())
{
if (p == MorphManager.fallbackProvider) continue;

var ns = p.getNameSpace();
p.getAllAvailableDisguises().forEach(s ->
{
Expand Down

0 comments on commit 14d8cb1

Please sign in to comment.