This commit is contained in:
Eoghanmc22 2020-06-23 15:58:31 -04:00
parent c31b962ed8
commit 7ac90cff24
4 changed files with 7 additions and 2 deletions

2
.gitignore vendored
View File

@ -2,6 +2,7 @@
/minecraft_data/
/.minestom_tmp/
/chunks/
# Created by .ignore support plugin (hsz.mobi)
### Java template
@ -48,3 +49,4 @@ gradle-app.setting
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties
/src/main/java/com/mcecraft/

View File

@ -44,6 +44,9 @@ dependencies {
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j-impl
api group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.13.2'
api 'org.mongodb.morphia:morphia:1.3.2'
api 'org.mongodb:mongo-java-driver:3.12.5'
api 'net.kyori:text-api:3.0.3'
api 'net.kyori:text-serializer-legacy:3.0.3'
api 'net.kyori:text-serializer-gson:3.0.3'

View File

@ -64,7 +64,7 @@ public class Main {
PlayerInit.init();
//MojangAuth.init();
MojangAuth.init();
minecraftServer.start("localhost", 55555, PlayerInit.getResponseDataConsumer());
}

View File

@ -153,7 +153,7 @@ public class Player extends LivingEntity implements CommandSender {
this.gameMode = GameMode.SURVIVAL;
this.dimension = Dimension.OVERWORLD;
this.levelType = LevelType.DEFAULT;
this.levelType = LevelType.FLAT;
refreshPosition(0, 0, 0);
// FakePlayer init its connection there