mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-03-10 05:29:12 +01:00
Update entity widths in NCPCompatBukkit.
This commit is contained in:
parent
4d4e48d790
commit
ccf9242402
@ -19,11 +19,6 @@
|
||||
<artifactId>ncpcore</artifactId>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bukkit</groupId>
|
||||
<artifactId>bukkit</artifactId>
|
||||
<version>1.7.2-R0.3</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<description>Compatibility for using the Bukkit API only.
|
||||
|
@ -178,9 +178,18 @@ public class MCAccessBukkit implements MCAccess, BlockPropertiesSetup{
|
||||
try {
|
||||
switch (type) {
|
||||
case LEASH_HITCH: // hanging: this.a(0.5F, 0.5F);
|
||||
return 0.5;
|
||||
return 0.5f;
|
||||
case HORSE: // this.a(1.4F, 1.6F);
|
||||
return 1.4f;
|
||||
// 1.8
|
||||
case ENDERMITE: // this.setSize(0.4F, 0.3F);
|
||||
return 0.4f;
|
||||
case ARMOR_STAND: // this.setSize(0.5F, 1.975F);
|
||||
return 0.5f;
|
||||
case RABBIT: // this.setSize(0.6F, 0.7F);
|
||||
return 0.6f;
|
||||
case GUARDIAN: // this.setSize(0.85F, 0.85F);
|
||||
return 0.95f;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user