CraftTweaker

CraftTweaker

151M Downloads

CommandSource.sendMessage is uncallable.

unnecessarymb opened this issue ยท 3 comments

commented

Issue description

Due to requiring the non-existant type UUID CommandSource.sendMessage is uncallable.

Steps to reproduce

Stare at the code and documentation unable to find a way to call CommandSource.sendMessage.

Script used

N/A

The crafttweaker.log file

N/A

Minecraft version

1.18

Modloader

Forge

Modloader version

40.2.10

CraftTweaker version

1.18.2-9.1.209

Other relevant information

No response

The latest.log file

N/A

commented

Even if there is an undocumented typecast, there is no way to find the UUID of many CommandSources.

commented

This will be resolved with a language update that will happen hopefully soon, but no promises.

commented

This has been fixed by c90f2de

import uuid.UUID;

UUID.parse("019fe22d-aa21-4919-bd30-a3c9e4ef80d2");