Merge branch 'LAX1DUDE-main'
This commit is contained in:
commit
3422e4e859
|
@ -69,10 +69,7 @@ public class YamlConfig implements ConfigurationAdapter {
|
|||
permissions.put("default", Arrays.asList("bungeecord.command.server", "bungeecord.command.list"));
|
||||
permissions.put("admin", Arrays.asList("bungeecord.command.alert", "bungeecord.command.end", "bungeecord.command.ip", "bungeecord.command.reload"));
|
||||
}
|
||||
final Map<String, Object> groups = this.get("groups", new HashMap<String, Object>());
|
||||
if (groups.isEmpty()) {
|
||||
groups.put("lax1dude", Collections.singletonList("admin"));
|
||||
}
|
||||
this.get("groups", new HashMap<String, Object>());
|
||||
/*
|
||||
final Map<String, Object> auth = this.get("authservice", new HashMap<String, Object>());
|
||||
if(auth.isEmpty()) {
|
||||
|
|
38263
javascript/classes.js
38263
javascript/classes.js
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,7 @@ public class ConfigConstants {
|
|||
|
||||
public static boolean profanity = false;
|
||||
|
||||
public static final String version = "22w03b";
|
||||
public static final String version = "22w03c";
|
||||
public static final String mainMenuString = "eaglercraft " + version;
|
||||
|
||||
public static final String forkMe = "https://github.com/ayunami2000/ayuncraft";
|
||||
|
|
|
@ -198,8 +198,8 @@ public class TextureTerrainMap implements IconRegister {
|
|||
private int nextSlot = 0;
|
||||
|
||||
public TextureTerrainMap(int size, String par2, String par3Str, EaglerImage par4BufferedImage) {
|
||||
this.width = size / 48 * 48;
|
||||
this.height = size / 48 * 48;
|
||||
this.width = size;
|
||||
this.height = size;
|
||||
this.basePath = par3Str;
|
||||
this.missingImage = new TerrainIcon(nextSlot++, this, null);
|
||||
this.iconList = new ArrayList();
|
||||
|
|
|
@ -174,7 +174,6 @@ public class RenderPlayer extends RenderLiving {
|
|||
EaglerAdapter.glDisable(EaglerAdapter.GL_CULL_FACE);
|
||||
EaglerAdapter.glEnable(EaglerAdapter.GL_BLEND);
|
||||
EaglerAdapter.glBlendFunc(EaglerAdapter.GL_SRC_ALPHA, EaglerAdapter.GL_ONE);
|
||||
EaglerAdapter.glDisable(EaglerAdapter.GL_LIGHTING);
|
||||
EaglerAdapter.glTranslatef((float)par2, (float)par4 - par1EntityPlayer.yOffset + 0.05f, (float)par6);
|
||||
float var13 = this.handleRotationFloat(par1EntityPlayer, par9);
|
||||
float var10 = par1EntityPlayer.prevRenderYawOffset + (par1EntityPlayer.renderYawOffset - par1EntityPlayer.prevRenderYawOffset) * par9;
|
||||
|
@ -195,6 +194,7 @@ public class RenderPlayer extends RenderLiving {
|
|||
EaglerAdapter.glBlendFunc(EaglerAdapter.GL_SRC_ALPHA, EaglerAdapter.GL_ONE_MINUS_SRC_ALPHA);
|
||||
EaglerAdapter.glEnable(EaglerAdapter.GL_ALPHA_TEST);
|
||||
EaglerAdapter.glEnable(EaglerAdapter.GL_CULL_FACE);
|
||||
EaglerAdapter.glEnable(EaglerAdapter.GL_LIGHTING);
|
||||
EaglerAdapter.glPopMatrix();
|
||||
EaglerAdapter.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
|
||||
|
|
|
@ -101,11 +101,11 @@ public class SoundManager {
|
|||
if(par1EntityLiving == null) {
|
||||
EaglerAdapter.setListenerPos(0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f);
|
||||
}else {
|
||||
float x = (float)(par1EntityLiving.prevPosX + (par1EntityLiving.posX - par1EntityLiving.prevPosX) * par2);
|
||||
float y = (float)(par1EntityLiving.prevPosY + (par1EntityLiving.posY - par1EntityLiving.prevPosY) * par2);
|
||||
float z = (float)(par1EntityLiving.prevPosZ + (par1EntityLiving.posZ - par1EntityLiving.prevPosZ) * par2);
|
||||
float pitch = (float)(par1EntityLiving.prevRotationPitch + (par1EntityLiving.rotationPitch - par1EntityLiving.prevRotationPitch) * par2);
|
||||
float yaw = (float)(par1EntityLiving.prevRotationYaw + (par1EntityLiving.rotationYaw - par1EntityLiving.prevRotationYaw) * par2);
|
||||
float x = (float)(par1EntityLiving.prevPosX + (par1EntityLiving.posX - par1EntityLiving.prevPosX) * par2); if(!Float.isFinite(x)) x = 0.0f;
|
||||
float y = (float)(par1EntityLiving.prevPosY + (par1EntityLiving.posY - par1EntityLiving.prevPosY) * par2); if(!Float.isFinite(y)) y = 0.0f;
|
||||
float z = (float)(par1EntityLiving.prevPosZ + (par1EntityLiving.posZ - par1EntityLiving.prevPosZ) * par2); if(!Float.isFinite(z)) z = 0.0f;
|
||||
float pitch = (float)(par1EntityLiving.prevRotationPitch + (par1EntityLiving.rotationPitch - par1EntityLiving.prevRotationPitch) * par2); if(!Float.isFinite(pitch)) pitch = 0.0f;
|
||||
float yaw = (float)(par1EntityLiving.prevRotationYaw + (par1EntityLiving.rotationYaw - par1EntityLiving.prevRotationYaw) * par2); if(!Float.isFinite(yaw)) yaw = 0.0f;
|
||||
EaglerAdapter.setListenerPos(x, y, z, (float)par1EntityLiving.motionX, (float)par1EntityLiving.motionY, (float)par1EntityLiving.motionZ, pitch, yaw);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user