Skip to content

Commit

Permalink
Change shared flags from int to byte
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Oct 22, 2024
1 parent e4e5bc1 commit ff83a75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ public FS_Entity(EntityType type) {

// Entity data

public int getSharedFlags() {
return (int) sharedFlagsData.getValue();
public byte getSharedFlags() {
return (byte) sharedFlagsData.getValue();
}

public void setSharedFlags(int sharedFlags) {
public void setSharedFlags(byte sharedFlags) {
this.sharedFlagsData.setValue(sharedFlags);
}

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

allprojects {
group = "de.oliver"
version = "0.0.10"
version = "0.0.10.1"
description = "Simple, lightweight and fast library for minecraft internals"

repositories {
Expand Down

0 comments on commit ff83a75

Please sign in to comment.