This commit is contained in:
ZXMushroom63 2024-09-21 13:47:56 +08:00
parent d6887c3054
commit 8e6effb0d6
2 changed files with 3 additions and 2 deletions

View File

@ -17,8 +17,9 @@
// Get the EntityPlayerMP class to spawn the fake player
const EntityPlayerMPClass = ModAPI.reflect.getClassById("net.minecraft.entity.player.EntityPlayerMP");
console.log(ModAPI.server.getConfigurationManager());
const fakePlayer = EntityPlayerMPClass.constructors[0](
world.getMinecraftServer(), world.getRef(), fakeProfile, playerInteractionManager
ModAPI.server.getRef(), world.getRef(), fakeProfile, playerInteractionManager
);
// Set the fake player position to be near the command sender

View File

@ -48,7 +48,7 @@ span.working summary span {
background-color: rgb(255, 102, 0);
}
span.done summary span {
background-color: greenyellow;
background-color: lime;
}
#todolist {
width: calc(50vw - 0.6rem);