mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-24 04:50:30 -04:00
Merge branch 'OC1.3-MC1.7.2' of github.com:MightyPirates/OpenComputers into OC1.3-MC1.7.10
This commit is contained in:
commit
f48bbc79ec
@ -1,5 +1,7 @@
|
||||
package li.cil.oc.server.component.robot
|
||||
|
||||
import java.util.UUID
|
||||
|
||||
import com.mojang.authlib.GameProfile
|
||||
import cpw.mods.fml.common.ObfuscationReflectionHelper
|
||||
import cpw.mods.fml.common.eventhandler.Event
|
||||
@ -36,7 +38,7 @@ object Player {
|
||||
val name = Settings.get.nameFormat.
|
||||
replace("$player$", robot.owner).
|
||||
replace("$random$", randomId)
|
||||
new GameProfile(null, name)
|
||||
new GameProfile(UUID.randomUUID().toString, name)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user