Skip to content

Commit

Permalink
1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ammoore00 committed Aug 16, 2022
1 parent eb5df67 commit bce2aee
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 21 deletions.
10 changes: 10 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## Version 1.4.1 ##
Thanks to the following people who contributed to this release!
- Dawnraider
- Sockthing

/--Gameplay--/
- Fixed an issue where the game would crash when fishing
- Fixed an issue where beds did not properly speed up time
- Fixed an issue where the corpse eye was missing its texture

## Version 1.4.0 ##
Thanks to the following people who contributed to this release!
- Hiracho
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
+ for (int i = 0; i < this.worldServers.length; i++) {
+ WorldServer world = this.worldServers[i];
+
+ if (world != null && !world.areAllPlayersAsleep()) {
+ if (world != null && !world.areAllPlayersAsleep() && !world.playerEntities.isEmpty()) {
+ allPlayersSleeping = false;
+ break;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
+
+public class FCBetterThanWolves extends FCAddOn
+{
+ public static final String fcVersionString = "1.4.0";
+ public static final String fcVersionString = "1.4.1";
+
+ public static FCBetterThanWolves m_instance = new FCBetterThanWolves();
+
Expand Down
14 changes: 7 additions & 7 deletions patches/minecraft/net/minecraft/src/FCItemFishingRod.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
+ return func_94597_g();
+ }
+
+ @Override
+ public Icon getAnimationIcon(EntityPlayer player) {
+ if (player.getHeldItem().itemID == this.itemID && player.fishEntity != null) {
+ return GetCastIcon();
+ }
+ else return itemIcon;
+ }
+ @Override
+ public Icon getAnimationIcon(EntityPlayer player) {
+ if (player.getHeldItem() != null && player.getHeldItem().itemID == this.itemID && player.fishEntity != null) {
+ return GetCastIcon();
+ }
+ else return itemIcon;
+ }
+}
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
+
+ //----------- Client Side Functionality -----------//
+
+ @Override
+ public Icon getAnimationIcon(EntityPlayer player) {
+ if (player.getHeldItem().itemID == this.itemID && player.fishEntity != null) {
+ return GetCastIcon();
+ }
+ else return itemIcon;
+ }
+ @Override
+ public Icon getAnimationIcon(EntityPlayer player) {
+ if (player.getHeldItem() != null && player.getHeldItem().itemID == this.itemID && player.fishEntity != null) {
+ return GetCastIcon();
+ }
+ else return itemIcon;
+ }
+}
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
+
+ public boolean areAllPlayersAsleep() {
+ boolean allPlayersSleeping = true;
+
+
+ for (int i = 0; i < this.worldServers.length; i++) {
+ WorldServer world = this.worldServers[i];
+
+ if (world != null && !world.areAllPlayersAsleep()) {
+
+ if (world != null && !world.areAllPlayersAsleep() && !world.playerEntities.isEmpty()) {
+ allPlayersSleeping = false;
+ break;
}
+ }
+
+
+ return allPlayersSleeping;
+ }
+}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
+
+public class FCBetterThanWolves extends FCAddOn
+{
+ public static final String fcVersionString = "1.4.0";
+ public static final String fcVersionString = "1.4.1";
+
+ public static FCBetterThanWolves m_instance = new FCBetterThanWolves();
+
Expand Down
File renamed without changes

0 comments on commit bce2aee

Please sign in to comment.